CompassControlModel | iOS SDK | 2GIS Documentation

CompassControlModel

Compass control model. The control consists of a compass button that, when pressed, causes the map camera to change its angle in the direction of north. If the map camera faces 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>