GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Re-applies the active raster basemap when its source has been lost from the style without a deliberate basemap switch (e.g., race with a plugin that adds layers inside the same map.on("load") dispatch as the deferred setBaseLayer).

      No-op when:

      • no basemap is considered active (_activeKey is null)
      • the active basemap is vector (managed by setStyle, not this path)
      • the basemap source is already present in the style

      Does NOT emit geoleaf:basemap:change — this is an internal re-apply, not a user-visible basemap change.

      Returns void