使用高德地图中轨迹回放时,小车移动速度过快问题

from:https://blog.csdn.net/qq_41339126/article/details/116596465

https://lbs.amap.com/demo/javascript-api/example/marker/replaying-historical-running-data/

https://lbs.amap.com/api/jsapi-v2/update

使用高德地图中的轨迹回放,来展现小车的移动轨迹。但是小车移动速度过快,修改moveAlong()中的参数也没用。

 

出现以上问题的原因:在于高德地图的版本问题:

v1.4.4或者v1.4.15都可以让小车按指定速度运行。但是最新的v2.0会使小车速度失效。

posted @ 2023-02-23 12:12  94cool  阅读(656)  评论(3)    收藏  举报