MapLayerHost class abstract

What a layer needs from the map it lives in. A MapLayerState reaches it through host.

Constructors

MapLayerHost()

Properties

camera → MapCamera
The camera as last reported by the platform, sized to the map widget.
no setter
context → BuildContext
Context whose themes are captured when rasterising icons.
no setter
controller → MapController
no setter
hashCode → int
The hash code for this object.
no setterinherited
icons → IconCache
The map's cache of rasterised marker icons.
no setter
idleCamera → ValueListenable<MapCamera?>
The camera once the map is ready, then after every settled move.
no setter
isReady → bool
Whether the platform reported the map ready. Objects registered before are sent once it is.
no setter
liveCamera → ValueListenable<MapCamera>
The camera on every platform move event (at most once per frame, during gestures and animations too), on ready, and when the map widget is resized.
no setter
pixelRatio → double
no setter
registry → LayerRegistry
Where the layer registers its native objects.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
supportsFlutterMapLayers → bool
Whether the platform draws the map with flutter_map, so that flutter_map layer widgets passed to LayerRegistry.setFlutterMapLayers are drawn (web, Windows, Linux). False on native maps.
no setter

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited