GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Serialize a state object into a URL fragment or query string.

      When mode is "compact" or the verbose param string exceeds AUTO_COMPACT_THRESHOLD chars, the state is base64-encoded instead. Both branches honour config.fields; only the mandatory view triple is always serialized.

      Parameters

      • state: PermalinkState | null | undefined

        State to serialize. Uses current-map defaults if undefined.

      • config: PermalinkConfig

        Active permalink configuration.

      Returns string

      A full URL change string starting with # (hash) or ? (query).