GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Emits geoleaf:basemap:change on document after a basemap became active.

      Called by every activation path — sync raster, WMTS and vector — unless the caller passed silent. A no-op where there is no document.

      Parameters

      • key: string

        The basemap now active.

      • previousKey: string | null

        The basemap it replaced, or null at boot.

      • definition: BasemapDefinition

        The definition of the newly active basemap.

      Returns void