For AI agents: a documentation index is available at /llms.txt. Markdown versions of all pages are available by appending .md to any URL.

Interface MapClickEvent

Event fired when the map is clicked.

interface MapClickEvent {
    position: LngLat;
    type: "click";
}

Hierarchy (View Summary)

  • Event<"click">
    • MapClickEvent
Index
position: LngLat

Geographic position of the click.

type: "click"

The type of the event.

Was this helpful?