MapCameraLimits class abstract
Controls constraints on map camera parameters.
When constraints are set, they are enforced for current camera state and for all future changes to the camera.
When setting, limits are applied on next rendering loop.
Constructors
Properties
- bearingRange ↔ AngleRange
-
The bearing range within which the camera can be rotated.
Gets the currently set bearing range.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- targetArea ↔ GeoBox?
-
Geographical area to which the camera target is limited.
Gets a GeoBox that limits the camera target to a specific geographical area. Absence of a value means that there is no limit.
getter/setter pair
- tiltRange ↔ AngleRange
-
The tilt range that can be applied to the camera.
Gets the current tilt range.
getter/setter pair
- zoomRange ↔ MapMeasureRange
-
The zoom range that can be applied to the camera.
Gets the currently set camera zoom range.
getter/setter pair
Methods
-
clearBearingRanges(
) → void - Clears bearing ranges for all zoom values and resets MapCameraLimits.bearingRange to default.
-
clearTiltRanges(
) → void - Clears tilt ranges for all zoom values and resets MapCameraLimits.tiltRange to default.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
setBearingRangeAtZoom(
MapMeasure zoom, AngleRange bearingRange) → void - Sets the bearing range within which the camera can rotate at a given zoom.
-
setTiltRangeAtZoom(
MapMeasure zoom, AngleRange tiltRange) → void - Sets tilt ranges that can be set on the camera at given zoom.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Static Properties
- maxTilt → double
-
Absolute maximum possible value of tilt angle.
final
- maxZoomLevel → double
-
Absolute maximum possible value of zoom level.
final
- minTilt → double
-
Absolute minimum possible value of tilt angle.
final
- minZoomLevel → double
-
Absolute minimum possible value of zoom level.
final