ru.dgis.sdk.map.BearingFollowController | Android SDK | Urbi Documentation
Android SDK

BearingFollowController

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