Renders the basemap switcher controls.
When no config is passed, the ui and basemaps blocks are read from the live configuration — which is what lets the kernel call this without threading options through. Whether anything is rendered at all depends on ui.showBaseLayerControls.
ui
basemaps
ui.showBaseLayerControls
A no-op when there is no document (SSR, Node).
document
Optional
Explicit UI/basemaps config; omitted or null reads it from GeoLeaf.Config.
GeoLeaf.Config
Renders the basemap switcher controls.
When no config is passed, the
uiandbasemapsblocks are read from the live configuration — which is what lets the kernel call this without threading options through. Whether anything is rendered at all depends onui.showBaseLayerControls.A no-op when there is no
document(SSR, Node).