Ios mapgl maps reference MapView | 2GIS Documentation
MapGL iOS APIdeprecated

MapView

A MapView displays interactive 3d map.

Extends: UIView
deinit
public override init(
	frame: CGRect
)

Creates the new instance of the MapView object.

Parameters
frame
CGRect

Initial view frame

Methods
Properties
((CLLocationCoordinate2D) -> ())?

Notifies of the map geographical center change.

((Double) -> ())?

Notifies of the map zoom level change.

((Double) -> ())?

Notifies of the map style zoom level change.

((Double) -> ())?

Notifies of the map rotation angle change.

((Double) -> ())?

Notifies of the map pitch angle change.

((CLLocationCoordinate2D) -> ())?

Notifies of the map click event.

Optional methods that you use to receive map-related update messages.

Gets or sets the geographical center of the map.

Gets or sets the rotation angle of the map.

Gets or sets the style zoom level of the map. Have priority over mapZoom

Gets or sets the zoom level of the map.

Gets or sets the mininal zoom level of the map. This value can not be less than 2.

Gets or sets the maximal zoom level of the map. This value can not be greater than 20.

Gets or sets the map pitch angle.

Gets or sets the maximal pitch angle of the map. This value can not be less than 0.

Gets or sets the mininal pitch angle of the map. This value can not be greater than 60.

Gets the last location received.