CameraUpdatePoints class final
A CameraUpdate that fits points into the map, see CameraUpdate.points.
- Inheritance
-
- Object
- CameraUpdate
- CameraUpdateFit
- CameraUpdatePoints
Constructors
-
CameraUpdatePoints(List<
Geographic> points, {EdgeInsets padding = EdgeInsets.zero, double? bearing, double? pitch, double? maxZoom}) -
Creates a CameraUpdate that fits all
pointsinto the map.const
Properties
- bearing → double?
-
The bearing in degrees, 0 is north on top. Null keeps the current one.
finalinherited
- bounds → GeoBox
-
The smallest box that contains the target.
no setteroverride
- hashCode → int
-
The hash code for this object.
no setteroverride
- maxZoom → double?
-
The highest zoom level, so that a small target is not shown too close.
finalinherited
- padding → EdgeInsets
-
The space in logical pixels between the target and the map's edges.
finalinherited
- pitch → double?
-
The pitch in degrees. Null keeps the current one.
finalinherited
-
points
→ List<
Geographic> -
The points that the map shows.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override