AreaCameraBehavior class abstract

Use this class to show an overview of geo points.

By default, 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.

Implemented types

Constructors

AreaCameraBehavior()
Creates a new instance of this class.
factory

Properties

cameraAnimationDuration ↔ Duration
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. Gets the current animation duration in milliseconds.
getter/setter pair
cameraBearingInDegrees ↔ double
Camera bearing in degrees. The direction in which the camera will point in degrees clockwise, relative to true North. The input should range between [0, 360]. Defaults to true North (0 degrees). Gets the current camera bearing.
getter/setter pair
cameraTiltInDegrees ↔ double
Camera tilt in degrees. The tilt of the camera relative to the axis perpendicular to the ground. Defaults to 0 degrees, meaning that it will look straight down into the ground. Gets the current camera tilt.
getter/setter pair
hashCode → int
The hash code for this object.
no setterinherited
isCurrentPositionIncluded ↔ bool
Include current position in camera view. Decides if the current position should be added to the set of visible points. Note that if the current position is in the vicinity of any of the visible points, setting this to false will not explicitly exclude the current position from the camera view. However if displaying an area potentially away from the current position, this does need to be explicitly set to false or it will try to include the current position. Defaults to false. Gets whether to include the current position.
getter/setter pair
maxZoom MapMeasure
Maximal allowed zoom. Defines maximal zoom level to be applied to enclose geodetic bounding box. Defaults to a MapMeasure with kind MapMeasureKind.zoomLevel and value 20.0. Gets maximal allowed zoom.
getter/setter pair
normalizedPrincipalPoint Anchor2D
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. Gets the currently set normalized principal point to be used during navigation.
getter/setter pairinherited
principalPointAnimationDuration ↔ Duration
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. Gets the current principal point animation duration in milliseconds.
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
viewRectangle Rectangle2D?
The view rectangle for camera updates. Defines a sub-space of the screen that the behavior should consider for camera updates. Defaults to null. If not set, it uses the viewport bounds of the underlying map view. Gets the current view rectangle, if it's set.
getter/setter pair

Methods

getVisiblePoints() → List<GeoCoordinates>
Gets configured visible geo points.
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
setVisiblePoints(List<GeoCoordinates> visiblePoints) → void
Sets the list of geo points to show in the camera view.
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited