animate
fun animate(id: String, node: MPINavigatable.MPINode, options: MPIOptions.MarkerAnimationOptions? = MPIOptions.MarkerAnimationOptions())
Moves an existing Marker to a new position smoothly over time
Parameters
id
: The Id of the Marker.
node
: The MPINavigatable.MPINode to set the Marker on
options
: Configuration options for the animation defined by MPIOptions.MarkerAnimationOptions
fun animate(id: String, coordinate: MPIMap.MPICoordinate, options: MPIOptions.MarkerAnimationOptions? = MPIOptions.MarkerAnimationOptions())
Moves an existing Marker to a new position smoothly over time
Parameters
id
: The Id of the Marker.
coordinate
: The MPIMap.MPICoordinate to set the Marker on
options
: Configuration options for the animation defined by MPIOptions.MarkerAnimationOptions