MMKCameraPosition
|
@interface MMKCameraPosition : NSObject |
The position of the camera.
Summary
Class methods
|
+ (nonnull MMKCameraPosition *)cameraPositionWithTarget:(nonnull MMKPoint *)target |
Properties
|
@property (nonatomic, readonly, nonnull) MMKPoint *target; |
|
@property (nonatomic, readonly) float zoom; |
|
@property (nonatomic, readonly) float azimuth; |
|
@property (nonatomic, readonly) float tilt; |
Class methods
cameraPositionWithTarget:zoom:azimuth:tilt:
|
+ (nonnull MMKCameraPosition *)cameraPositionWithTarget:(nonnull MMKPoint *)target |
Properties
target
|
@property (nonatomic, readonly, nonnull) MMKPoint *target; |
The point the camera is looking at.
zoom
|
@property (nonatomic, readonly) float zoom; |
Zoom level. 0 corresponds to the whole world displayed in a single tile.
azimuth
|
@property (nonatomic, readonly) float azimuth; |
Angle between north and the direction of interest on the map plane, in degrees in the range [0, 360).
tilt
|
@property (nonatomic, readonly) float tilt; |
Camera tilt in degrees. 0 means vertical downward.