CameraFitOptions class final
Options for finding the camera that fits an area.
See mln_camera_fit_options in the
C API reference.
Constructors
- CameraFitOptions({EdgeInsets? padding, double? bearing, double? pitch})
-
const
Properties
- bearing → double?
-
The rotation from north, in degrees.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- padding → EdgeInsets?
-
Space to leave between the area and each edge of the map. The left and
right insets must add up to less than the map's width, and the top and
bottom to less than its height.
final
- pitch → double?
-
The tilt toward the horizon, in degrees.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
copyWith(
{EdgeInsets? padding, double? bearing, double? pitch}) → CameraFitOptions - A copy of this value with the given members replaced.
-
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.
inherited