Class YMKCameraPosition

The position of the camera.

Class Methods

Properties

azimuth

Angle between north and the direction of interest on the map plane, in degrees in the range [0, 360).

target

The point the camera is looking at.

tilt

Camera tilt in degrees.

zoom

Zoom level.

Method Detail

+cameraPositionWithTarget:zoom:azimuth:tilt:

+ (nonnull YMKCameraPosition *)cameraPositionWithTarget:(nonnull YMKPoint *)target
                                                   zoom:(float)zoom
                                                azimuth:(float)azimuth
                                                   tilt:(float)tilt 

Property Detail

azimuth

(assign, readonly) float azimuth

Angle between north and the direction of interest on the map plane, in degrees in the range [0, 360).

target

(assign, readonly) YMKPoint * target

The point the camera is looking at.

tilt

(assign, readonly) float tilt

Camera tilt in degrees.

0 means vertical downward.

zoom

(assign, readonly) float zoom

Zoom level.

0 corresponds to the whole world displayed in a single tile.