Ios webgl maps reference MapView | 2GIS Documentation

MapView

A MapView displays interactive 3d map.

Extends: UIView
public override init(
	frame: CGRect
)

Creates the new instance of the MapView object.

Parameters
frame
CGRect

Initial view frame

Methods
Properties

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

((CLLocationCoordinate2D) -> ())?

Notifies of the map geographical center change.

((Double) -> ())?

Notifies of the map 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.

Gets or sets the geographical center of the map.

Gets or sets the rotation angle of the map.

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.