Camera class final
A map's whole camera.
See mln_camera in the
C API reference.
Constructors
Properties
- bearing → double
-
The rotation from north, in degrees.
final
- center → LatLng
-
final
- centerAltitude → double
-
The altitude of the center, in meters above sea level.
final
- fieldOfView → double
-
The vertical field of view, in degrees.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → EdgeInsets
-
Insets from the map's edges. The camera centers within the rest.
final
- pitch → double
-
The tilt toward the horizon, in degrees. 0 looks straight down.
final
- roll → double
-
The roll, in degrees.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- zoom → double
-
final
Methods
-
copyWith(
{LatLng? center, double? centerAltitude, EdgeInsets? padding, double? zoom, double? bearing, double? pitch, double? roll, double? fieldOfView}) → Camera - A copy of this value with the given members replaced.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toOptions(
) → CameraOptions -
Converts this
CameratoCameraOptionsthat set each of its members. -
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited