Detail payload for geoleaf:layer:added.
geoleaf:layer:added
Dispatched once per GeoLeaf layer right after its MapLibre source + sub-layers are created (GeoJSON layers and POI cluster groups). Lets capability plugins (e.g. taxonomy) apply per-layer paint/layout once the layer exists, without polling.
GeoLeaf layer id that was just added to the map.
MapLibre source id backing the layer (gl-src-<layerId> by default).
gl-src-<layerId>
GeoJSON geometry-type vocabulary present on the layer (e.g. ["Polygon"], ["Point"], ["LineString", "Polygon"]).
["Polygon"]
["Point"]
["LineString", "Polygon"]
Detail payload for
geoleaf:layer:added.Dispatched once per GeoLeaf layer right after its MapLibre source + sub-layers are created (GeoJSON layers and POI cluster groups). Lets capability plugins (e.g. taxonomy) apply per-layer paint/layout once the layer exists, without polling.