GeoLeaf Core API - v3.0.0
    Preparing search index...
    • Dispatches a GeoLeaf CustomEvent on document.

      The single emission point for map events, which is what keeps every event name and detail shape flowing through one place. A no-op where there is no document.

      Parameters

      • map: { fire?: (name: string, payload: unknown) => void } | null | undefined
      • eventName: string
      • Optionalpayload: unknown

      Returns void