Layers topic

Visit the Layers chapter in the documentation to learn more.

Classes

CircleLayer Layers
A Point layer.
Layer<G extends Feature<Geometry>>
This class is the base for all annotation layer classes.
LayerAnchor
Where a Layer of MapLibreMap.layers goes among the layers of the style, see Layer.anchor.
LayerAnchorAbove
See LayerAnchor.above.
LayerAnchorBelow
See LayerAnchor.below.
LayerAnchorBottom
See LayerAnchor.bottom.
LayerAnchorTop
See LayerAnchor.top.
LayerFeatureEvent
The user tapped, hovered or dragged a feature of a Layer, see Layer.onClick, Layer.onEnter and Layer.onDrag.
Marker Layers
Model class for a widget marker, can be used in a WidgetLayer.
MarkerIcon
The image of the markers of a layer, which the map adds to the style for it, see Layer.icon.
MarkerIconAsset
See MarkerIcon.asset.
MarkerIconBytes
See MarkerIcon.bytes.
MarkerIconData
See MarkerIcon.iconData.
MarkerIconExpression
See MarkerIcon.expression.
MarkerIconNamed
See MarkerIcon.named.
MarkerIconProvider
See MarkerIcon.provider.
MarkerLayer Layers
A Point layer.
PolygonLayer Layers
A Polygon layer.
PolylineLayer Layers
A LineString layer.
WidgetLayer Layers
Use the WidgetLayer to display Widgets on the MapLibreMap by using it in MapLibreMap.children.

Typedefs

LayerFeatureCallback = void Function(LayerFeatureEvent event)
Called with a LayerFeatureEvent when the user interacts with a feature of a Layer.