ContainCameraCenter class

Constrains the center coordinate of the camera to within bounds

Areas outside of bounds are likely to be visible. To instead constrain by the edges of the camera, use ContainCamera.

See CameraConstraint for more information.

Inheritance
Annotations

Properties

bounds LatLngBounds
final
hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

constrain(MapCamera camera) MapCamera
Create a new constrained camera based off the current camera
override
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