MyLocationControlModel | iOS SDK | 2GIS Documentation
iOS SDK

MyLocationControlModel

Model of the control of the flyover to the user's location. The control consists of a button that, when pressed, moves the camera to the user's location. If no location is defined, nothing happens. The object methods must be called on the same thread.

Extends: Hashable
public static func == (lhs: MyLocationControlModel, rhs: MyLocationControlModel) -> Bool

Returns a Boolean value indicating whether two values are equal.

public convenience init(
    map: Map
)
Parameters
map
Methods
Properties
StatefulChannel<Bool>
StatefulChannel<CameraFollowState>