CompassControlModel | iOS SDK | 2GIS Documentation
iOS SDK

CompassControlModel

Model of the compass control. The control consists of a compass button that, when clicked, causes the map camera to change its angle in the direction of north. If the map camera is facing the north, the control must be hidden. Thread-safe.

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

Returns a Boolean value indicating whether two values are equal.

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