CameraPosition | iOS SDK | 2GIS Documentation
iOS SDK

CameraPosition

Camera position.

public init(
    point: GeoPoint,
    zoom: Zoom,
    tilt: Tilt = Tilt(value: 0),
    bearing: Bearing = Bearing(value: 0)
)
Parameters
point
zoom
tilt
bearing
Properties

Terrain point that is located at the camera position point (see ICamera::position_point()).

Zoom level. 0 is the entire world inscribed in a square of 256x256 logical pixels (see LogicalPixel).

Tilt angle of the gaze direction vertically.
0 is nadir (vertically downward), maximum value is 60 degrees.

Angle of rotation of the view direction horizontally relative to the north direction. Counted clockwise, in degrees.