MapView class final
One view of a map: its camera, size, and projection.
See mln_map_view in the
C API reference.
Constructors
- MapView({Camera camera = const Camera(), LogicalExtent extent = const LogicalExtent(), ProjectionMode projectionMode = const ProjectionMode(), MapViewport viewport = const MapViewport()})
-
const
Properties
- camera → Camera
-
final
- extent → LogicalExtent
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- projectionMode → ProjectionMode
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- viewport → MapViewport
-
final
Methods
-
copyWith(
{Camera? camera, LogicalExtent? extent, ProjectionMode? projectionMode, MapViewport? viewport}) → MapView - 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