MapSnapshot class final
A map's state, as MapHandle.getSnapshot() reads it.
See mln_map_snapshot in the
C API reference.
Constructors
- MapSnapshot({MapDebugFlag debugFlags = MapDebugFlag.none, int generation = 0, bool fullyLoaded = false, bool renderingStatsViewEnabled = false, bool gestureInProgress = false, bool transitionInProgress = false, RuntimeEventFlag eventMask = RuntimeEventFlag.none, int latestRenderUpdateGeneration = 0, MapTileSettings tile = const MapTileSettings(), CameraBounds bounds = const CameraBounds(), FreeCamera freeCamera = const FreeCamera(), MapView view = const MapView()})
-
const
Properties
- bounds → CameraBounds
-
final
- debugFlags → MapDebugFlag
-
final
- eventMask → RuntimeEventFlag
-
final
- freeCamera → FreeCamera
-
final
- fullyLoaded → bool
-
Whether the style and every resource that the view needs have loaded.
final
- generation → int
-
Grows with each change to the map's state.
final
- gestureInProgress → bool
-
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- latestRenderUpdateGeneration → int
-
Counts the render updates that the map has made for its render session.
final
- renderingStatsViewEnabled → bool
-
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- tile → MapTileSettings
-
final
- transitionInProgress → bool
-
final
- view → MapView
-
final
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.
inherited