GeoLeaf Core API - v3.19.0
    Preparing search index...
    • Apply a permalink state to the map and UI.

      Map view is applied immediately (synchronous). If a theme needs to be restored, it is applied once geoleaf:themes:ready fires, then layer visibility and filter are applied after the resulting geoleaf:theme:applied. Without a theme change, layers and filter are deferred to the first geoleaf:theme:applied — or, on a profile that applies no theme at all, to one macrotask after geoleaf:app:ready.

      Parameters

      • state: PermalinkState

        State to restore.

      • map: IMapAdapter

        Map adapter instance.

      • config: PermalinkConfig = {}

        Active permalink configuration. Its fields whitelist gates the per-field filter entries of the state, by the kind of the field each one names; absent, every facet is let through.

      Returns void