ConstOptionaloptions: BaselayersInitOptionsInitialisation options.
An object with the active key and the full layers registry.
Registers a single basemap definition by key.
No map API calls are made at registration time — the definition is stored
and applied lazily when setBaseLayer() is called.
Activates a registered basemap by key.
Three code paths:
setStyle() — full style replacement via _applyViaStyleChange().If the map style is not yet loaded, activation is deferred until load.
Activates a registered basemap by key.
Three code paths:
setStyle() — full style replacement via _applyViaStyleChange().If the map style is not yet loaded, activation is deferred until load.
Returns the BasemapConfig definition of the currently active basemap.
Returns null when no basemap is active.
NOTE: unlike the pre-Sprint-3 version, this no longer returns a
layer instance. The layer field on each _baseLayers entry is always
null and exists only for backward compatibility.
Initialises the basemaps system: registers default layers, applies custom layers from options, sets the active layer, and renders the basemap UI controls.