Navmii SDK  2.2.0
Write yourself a navigation system in iOS
Instance Methods | Properties | List of all members
NMCameraPosition Class Reference

Inherits <NSObject>, and <NSCopying>.

Instance Methods

(nullable instancetype) - initWithTargetLocation:heading:pitch:zoom:
 

Properties

NMMapCoordinatestargetLocation
 
CGFloat heading
 
CGFloat pitch
 
CGFloat zoom
 

Method Documentation

◆ initWithTargetLocation:heading:pitch:zoom:()

- (nullable instancetype) initWithTargetLocation: (NMMapCoordinates *)  targetLocation
heading: (CGFloat)  heading
pitch: (CGFloat)  pitch
zoom: (CGFloat)  zoom 

Property Documentation

◆ heading

- (CGFloat) heading
readwritenonatomicassign

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

- (CGFloat) pitch
readwritenonatomicassign

Defines the tilt of the map relative to the camera. When the property equals 0, the camera points straight down the map

◆ targetLocation

- (NMMapCoordinates*) targetLocation
readwritenonatomicstrong

Defines the coordinates of the location which the camera is pointing to. This locaion is placed in the center of the NMMapView.

◆ zoom

- (CGFloat) zoom
readwritenonatomicassign

Defines the zoom of the camera. The greater the value the less geo area fits the map view.