ru.dgis.sdk.map.CameraPosition | Android SDK | 2GIS Documentation
Android SDK

CameraPosition

Camera position.

CameraPosition(
	point: GeoPoint,
	zoom: Zoom,
	tilt: Tilt = Tilt(value = 0.0f),
	bearing: Bearing = Bearing(value = 0.0)
)

Camera position.

Parameters
point
zoom
tilt
bearing
Returns
Properties

Map point corresponding to the camera position (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 direction of vertical view.

0 - nadir (look vertically down), the maximum value is 60 degrees.

Rotation angle of the direction of horizontal view relative to the north direction. Counted clockwise, in degrees.