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

    Snapshot of the serializable map state. All fields except lat, lng, zoom are optional.

    interface PermalinkState {
        lat: number;
        lng: number;
        zoom: number;
        layers?: string[];
        shownLayers?: string[];
        filter?: string;
        categories?: string[];
        tags?: string[];
        rating?: number;
        theme?: string;
    }
    Index

    Properties

    lat: number

    Map centre latitude [-90, 90].

    lng: number

    Map centre longitude [-180, 180].

    zoom: number

    Map zoom level [0, 28].

    layers?: string[]

    List of layer IDs that the user has explicitly hidden.

    shownLayers?: string[]

    List of layer IDs that the user has manually shown (not part of the active theme).

    filter?: string

    Active text filter value.

    categories?: string[]

    Active taxonomy filter — flat category + sub-category value set (gl_cats).

    tags?: string[]

    Active tag filter (list of selected tag values).

    rating?: number

    Minimum rating filter (0 = no filter).

    theme?: string

    Active data theme ID (e.g. "tourism", "administration").