小车动画支持调节速率
This commit is contained in:
parent
5b60c22a9d
commit
32f32a1b89
@ -37,7 +37,6 @@ export function playAnimation(map,data,line,animateRate,view,itemIndex){
|
||||
index++
|
||||
}
|
||||
lastMovingIndex = e.index
|
||||
console.log("index",index,path.length,line.length)
|
||||
let lastLocation = e.passedPath[e.passedPath.length - 1];
|
||||
data.infoWindow.setPosition(lastLocation);
|
||||
let speed = ((line[index].speed||0) * 3.6).toFixed(2)
|
||||
|
Loading…
Reference in New Issue
Block a user