ru.dgis.sdk.map.CoordinatesFollowController | Android SDK | 2GIS Documentation

CoordinatesFollowController

Controller for following the coordinates of the map position.

CoordinatesFollowController(animationDuration: Duration = Duration.ofMilliseconds(1000), valueThreshold: Meter = Meter(value = 0.1f))

Creates a controller for following the coordinates of the map position.

Parameters
animationDuration
Duration

Duration of change in real position.

valueThreshold
Meter

Non-negative threshold value of considered change in real position.

Returns