CameraPosition class

The CameraPosition represents the position of the map "camera", the view point from which the world is shown in the map view. Aggregates the camera's target geographical location and the its zoom level.

Constructors

CameraPosition({required LatLng target, double zoom = 0.0})
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
target LatLng
The camera's target position as LatLng.
final
zoom double
The camera's zoom level as a double.
final

Methods

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.
override