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

MyLocationControllerSettings

Settings of the controller of a geolocation marker moving.

MyLocationControllerSettings(
	bearingSource: BearingSource? = BearingSource.AUTO,
	animationDuration: Duration = Duration.ofMilliseconds(1000),
	coordinatesThreshold: Meter = Meter(value = 0.1f),
	bearingThreshold: Bearing = Bearing(value = 1.0)
)

Settings of the controller of a geolocation marker moving.

Parameters
bearingSource
animationDuration
coordinatesThreshold
bearingThreshold
Returns
Properties

Bearing source. If missing, a marker without bearing is displayed.

Non-negative duration of the real bearing change.

Non-negative threshold value of the considered change of the real position and its precision.

Non-negative threshold value of the considered change of the real bearing.