react-map-gl/docs/api-reference/pointer-event.md
2020-02-10 11:44:42 -08:00

26 lines
443 B
Markdown

# PointerEvent
Event object passed to some of [InteractiveMap](/docs/api-reference/interactive-map.md)'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.