react-map-gl/docs/components/pointer-event.md
2018-10-23 14:17:36 -07:00

440 B

PointerEvent

Event object passed to some of InteractiveMap's callback props.

Members

type {String}

The name of the event.

point {Array}

The screen coordinates that is being clicked.

lngLat {Array}

The geo coordinates that is being clicked.

target {Element}

The target element of the pointer event.

srcEvent {Object}

The original browser event.