AreaCameraBehavior
public class AreaCameraBehavior : CameraBehavior
extension AreaCameraBehavior: NativeBase
extension AreaCameraBehavior: Hashable
Use this class to show an overview of geo points. The orientation of the camera will be perpendicular to the Earth’s surface (ie. looking towards the center of the Earth), while bearing will be towards north.
Note: This is a beta feature; there maybe bugs and unexpected behavior. Related API’s are subject to change without a deprecation process.
-
Creates a new instance of this class.
Declaration
Swift
public init() -
The normalized principal point. Normalized principal point to be used during navigation. Defaults to (0.5, 0.775), which means the camera will use the position slightly at the bottom of the mapview.
Declaration
Swift
public var normalizedPrincipalPoint: Anchor2D { get set } -
The crop rectangle for camera updates. Defines a sub-space of the screen that the behavior should consider for camera updates. If not set, it uses the viewport bounds of the underlying map view.
Declaration
Swift
public var cropRectangle: Rectangle2D? { get set } -
The duration of camera animation in milliseconds. If there is an animation, it will last for specified period of time. Defaults to 500 milliseconds, or half a second.
Declaration
Swift
public var cameraAnimationDuration: TimeInterval { get set } -
The duration of principal point animation in milliseconds. If the principal point is changed, the change will be animated over this duration. Defaults to 500 milliseconds, or half a second.
Declaration
Swift
public var principalPointAnimationDuration: TimeInterval { get set } -
Maximal allowed zoom level. Defines maximal zoom level to be applied to enclose geodetic bounding box.
Declaration
Swift
public var maxZoomLevel: Double { get set } -
List of geo points to show in camera view. Defines list of geo points to be visualized in camera view.
Declaration
Swift
public var visiblePoints: [GeoCoordinates] { get set }