mirror of
https://github.com/visgl/react-map-gl.git
synced 2025-12-08 20:16:02 +00:00
26 lines
443 B
Markdown
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.
|