You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using GoogleMapsOverlay with TS and i can't get around that ts error
import{GoogleMapsOverlay}from'@deck.gl/google-maps'overlay.setProps({// useDevicePixels: true,onClick: (layer,event)=>{constisRightClick=event.srcEvent.domEvent.button===2// Property 'domEvent' does not exist on type 'TouchEvent | MouseEvent | PointerEvent'. Property 'domEvent' does not exist on type 'TouchEvent'.ts(2339)}
any suggestion on how to get the correct type for the onClick > event, thanks
Description
When using the Icon layer on google maps, right click events do not happen
Flavors
Expected Behavior
onClick to emit with right clicks having rightButton = true in the event
Steps to Reproduce
Here's an example codepen:
https://codepen.io/mjtworks/pen/abwNJVW
The event should happen with right or left click
Environment
Logs
No response
The text was updated successfully, but these errors were encountered: