ZoomControlModel | iOS SDK | 2GIS Documentation
iOS SDK

ZoomControlModel

Model of the zoom control. The control consists of +/- buttons that change the map scale when pressed. When the allowable scale limit is reached, the zoom button becomes inactive in that direction. The object's methods must be called on the same thread.

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

Returns a Boolean value indicating whether two values are equal.

public convenience init(
    map: Map
)
Parameters
map
Methods