On this page
Properties

Interface MapClickEvent

Event fired when the map is clicked.

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

Hierarchy (View Summary)

  • Event<"click">
    • MapClickEvent
Index

Properties

Properties

position: LngLat

Geographic position of the click.

type: "click"

The type of the event.

Was this helpful?

GeoSplats SDK
Reference
MapClickEvent