/tripkit/TripKitAndroidUI/com.skedgo.tripkit.ui.utils/MapUtils/animatePulseOverlay
animatePulseOverlay
\ fun animatePulseOverlay(overlay: GroundOverlay?, zoomLevel: Float, baseMinSize: Float = 150.0f, baseMaxSize: Float = 350.0f, duration: Long = 2500)
Animates a GroundOverlay to create a pulsing effect by changing its dimensions.
Parameters
androidJvm
overlay | The overlay to animate. |
zoomLevel | The current zoom level of the map. |
baseMinSize | The base minimum size of the overlay in meters (at reference zoom level). |
baseMaxSize | The base maximum size of the overlay in meters (at reference zoom level). |
duration | The duration of the pulse animation in milliseconds. |