如何解决 translateMarker 更新marker之后的不移动?
在onReady() 已经执行了一次函数。动画执行。车移动到点2。

成功截图:

函数内容如下:

button 也绑定了这个函数
点击button,动画不执行,icon停在原地。
异常截图:

期望效果:
点击按钮,动画执行。车移动到点2。
复现步骤:
页面加载onReady()执行
点击按钮
在onReady() 已经执行了一次函数。动画执行。车移动到点2。
成功截图:
函数内容如下:
button 也绑定了这个函数
点击button,动画不执行,icon停在原地。
异常截图:
期望效果:
点击按钮,动画执行。车移动到点2。
复现步骤:
页面加载onReady()执行
点击按钮