/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.utils/MapUtils/animateMarkerToPosition

animateMarkerToPosition

\ fun animateMarkerToPosition(marker: Marker, toPosition: LatLng, duration: Long = 1000)

Animates a marker from its current position to a target position.

Parameters

androidJvm

marker The marker to animate.
toPosition The target position.
duration The duration of the animation in milliseconds.