CoordinatesFollowController | iOS SDK | 2GIS Documentation
iOS SDK

CoordinatesFollowController

Controller of following the map position coordinates.

public convenience init(
    animationDuration: TimeInterval = 1,
    valueThreshold: Meter = Meter(value: 0.10000000149011612)
)

Creates a controller following the camera position coordinates.

Parameters
animationDuration
TimeInterval

Duration of changing the actual position.

valueThreshold
Meter

Non-negative threshold of the actual position change taken into account.