BaseCamera | iOS SDK | 2GIS Documentation
iOS SDK

BaseCamera

Camera.

Extends: Hashable
public static func == (lhs: BaseCamera, rhs: BaseCamera) -> Bool

Returns a Boolean value indicating whether two values are equal.

Methods
Properties

Projection.

StatefulChannel<CameraPosition>

Gets the current camera position.

Gets the current camera position.

StatefulChannel<CameraZoomRestrictions>

Gets the current zoom level limits.

Gets the current zoom level limits.

StatefulChannel<DeviceDensity>

Gets the DPI ratio to the base DPI of the device.

Gets the DPI ratio to the base DPI of the device.

StatefulChannel<ScreenSize>

Gets the viewport size.

Gets the viewport size.

StatefulChannel<Padding>

Gets the current padding from the edges of the screen.

Gets the current padding from the edges of the screen.

StatefulChannel<CameraPositionPoint>

Screen point to which the camera position is anchored is set with the padding.

Screen point to which the camera position is anchored is set with the padding.

Intersection area between the camera's visibility pyramid and the map surface.

StatefulChannel<GeoRect>

Volume rectangle of the visible area of the map.

Volume rectangle of the visible area of the map.

StatefulChannel<StyleZoomToTiltRelation?>

Gets the current function of the camera tilt angle dependence on the style zoom level.

Gets the current function of the camera tilt angle dependence on the style zoom level.

StatefulChannel<StyleZoomToTiltRelation?>

Gets the current function of the dependence of the maximum camera tilt angle on the style zoom level.

Gets the current function of the dependence of the maximum camera tilt angle on the style zoom level.