MapViewport class final
A map's whole viewport.
Its members mean the same as those of MapViewportOptions.
See mln_map_viewport in the
C API reference.
Constructors
- MapViewport({NorthOrientation northOrientation = const NorthOrientation.fromRawValue(0), ConstrainMode constrainMode = const ConstrainMode.fromRawValue(0), ViewportMode viewportMode = const ViewportMode.fromRawValue(0), EdgeInsets frustumOffset = const EdgeInsets()})
-
const
Properties
- constrainMode → ConstrainMode
-
final
- frustumOffset → EdgeInsets
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- northOrientation → NorthOrientation
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- viewportMode → ViewportMode
-
final
Methods
-
copyWith(
{NorthOrientation? northOrientation, ConstrainMode? constrainMode, ViewportMode? viewportMode, EdgeInsets? frustumOffset}) → MapViewport - 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