BearingFollowController
Controller following the map bearing.
Extends:
ru.dgis.sdk.map.FollowController
BearingFollowController(
bearingSource: BearingSource,
animationDuration: Duration = Duration.ofMilliseconds(1000),
valueThreshold: Bearing = Bearing(value = 1.0)
)
Creates a controller for following the map direction.
Parameters
bearingSource
BearingSource
Source of information about direction.
animationDuration
Duration
Non-negative duration of change in real direction.
valueThreshold
Bearing
Non-negative threshold value of considered change in real direction.
Returns