The ids of the layers the query matches in the loaded style, in draw order. It is empty when the style has no such layers.
Removes every override made through the styling foundations module on the matched layers.
Replaces the filter the style gave every matched layer. The filters other modules add, such as POI categories and traffic filters, still narrow it.
Sets layout properties on every matched layer. A visibility acts as setVisible.
Sets paint properties on every matched layer.
Shows or hides every matched layer. A layer another module hides stays hidden.
The advanced tier of the styling foundations module, with raw MapLibre paint, layout and filter edits over a query of style layers, re-applied across style switches.
Remarks
This is the version-coupled tier. Layer ids, expressions and even which layers exist belong to the loaded style version, so an edit may match nothing on the next one. The selection is then empty and the SDK warns once. Prefer a knob or StylingFoundationsModule.setMapColors where one fits.
Overrides are style edits, not portable settings, so
getConfig()leaves them out.Only the style's own layers. The layers a data-owned module adds (places, routes, geometries…) take their overrides through that module's
layersconfiguration, and the ones you add are yours.Example