Document Maps JavaScript API Reference Manual Point Marker Class AnimationCallback

AnimationCallback

AnimationCallback

MoveAnimation callback function(Type: Function)

Parameter:

index (number): Index of the point to run to

data (LngLat): Current point latitude and longitude

return value: number