Inherits <NSObject>, and <NSCopying>.
◆ initWithTargetLocation:heading:pitch:zoom:()
- (nullable instancetype) initWithTargetLocation: |
|
(NMMapCoordinates *) |
targetLocation |
heading: |
|
(CGFloat) |
heading |
pitch: |
|
(CGFloat) |
pitch |
zoom: |
|
(CGFloat) |
zoom |
|
|
| |
◆ heading
Defines the heading of the camera in degrees when the tilt is greater than 0. When the property is 0 the camera's heading is North. In case of planar representation of the map (map tilt is 0) the property defines the rotation of the map in degrees relative to North.
◆ pitch
Defines the tilt of the map relative to the camera. When the property equals 0, the camera points straight down the map
◆ targetLocation
Defines the coordinates of the location which the camera is pointing to. This locaion is placed in the center of the NMMapView.
◆ zoom
Defines the zoom of the camera. The greater the value the less geo area fits the map view.