MyLocationController
Class that controls the display of the current position marker.
Extends:
ru.dgis.sdk.NativeObject
MyLocationController(
bearingSource: BearingSource?,
animationDuration: Duration = Duration.ofMilliseconds(1000),
coordinatesThreshold: Meter = Meter(value = 0.1f),
bearingThreshold: Bearing = Bearing(value = 1.0)
)
Creating a location marker movement controller. One controller can only be added to the sources of one context.
Parameters
bearingSource
BearingSource?
Source of direction. If missing, a marker without direction will be displayed.
animationDuration
Duration
Non-negative duration of change in real direction.
coordinatesThreshold
Meter
Non-negative threshold value of considered change in real position and its accuracy.
bearingThreshold
Bearing
Non-negative threshold value of considered change in real direction.
Returns