CameraState class

Describes the viewpoint of a camera.

Available Extensions

Constructors

CameraState({required Point center, required MbxEdgeInsets padding, required double zoom, required double bearing, required double pitch})

Properties

bearing double
Bearing, measured in degrees from true north. Wrapped to [0, 360).
read / write
center Point
Coordinate at the center of the camera.
read / write
hashCode int
The hash code for this object.
read-onlyinherited
padding MbxEdgeInsets
Padding around the interior of the view that affects the frame of reference for center.
read / write
pitch double
Pitch toward the horizon measured in degrees.
read / write
runtimeType Type
A representation of the runtime type of the object.
read-onlyinherited
zoom double
Zero-based zoom level. Constrained to the minimum and maximum zoom levels.
read / write

Methods

encode() Object
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

decode(Object result) CameraState