All features of a layer (empty array when the layer is unknown).
A single feature by its stable id (feature.id or properties.id), or null.
Number of features currently held for a layer.
Ids of every layer known to the store.
true when a layer with this id exists in the store.
Replaces a layer's base features, re-renders the source, and emits.
Empties a layer (equivalent to setData(layerId, [])).
Appends one feature to the base dataset.
Removes one feature by id; returns true when a feature was removed.
Re-keys a feature (temp id → server id) on both feature.id and properties.id.
Merges patch into a feature's properties (baked — persists across
source rebuilds). Silent by default (no source rebuild); pass
{ rerender: true } to re-render immediately.
Optionalopts: { rerender?: boolean }Displays only the features matching predicate, WITHOUT mutating the base
dataset — the subset is re-derived from the full base on each apply (GPU
setFilter id-match, JS predicate fallback).
Restores full visibility (clears any active subset).
Sets ephemeral feature-state on a feature (requires promoteId on the source).
Upserts features into the base dataset, de-duplicated by id.
The object mounted on
GeoLeaf.Layers. Reads promote the per-layerGeoJSONCorestore; the base-dataset writes, unit mutations, visible-subset, reactive paint and merge are the seam's own surface.