MyLocationControllerSettings | iOS SDK | 2GIS Documentation
iOS SDK

MyLocationControllerSettings

Settings of the controller of a geolocation marker moving.

public init(
    bearingSource: BearingSource? = BearingSource.auto,
    animationDuration: TimeInterval = 1,
    coordinatesThreshold: Meter = Meter(value: 0.10000000149011612),
    bearingThreshold: Bearing = Bearing(value: 1)
)
Parameters
bearingSource
animationDuration
coordinatesThreshold
bearingThreshold
Properties

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

Non-negative duration of the real direction 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 bering.