Camera class

Constructors

Camera({double? zoom, Angle? bearing, Angle? pitch, int? transitionDuration, Coordinate? center})

Properties

bearing Angle?
Set the bearing to a determined value in Angle.
getter/setter pair
center Coordinate?
Move the center of the camera to a Coordinate on the map.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
pitch Angle?
Set the pitch to a determined Angle between 0° and 60°.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transitionDuration int?
Set the transitionDuration to a determined value in milliseconds. The value specified must be >= 0 and defining it to 0 will execute an instant camera animation.
getter/setter pair
zoom double?
Set the zoom to some value between 0 and 24.
getter/setter pair

Methods

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

Operators

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