GeoLeaf Core API - v3.19.0
    Preparing search index...

    Function getActiveLayer

    • 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.

      Returns BasemapDefinition | null