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
As far as I have understood, Mapbox does not fire a click event when a right click occurs. Instead it fires a contextmenu event. See mapbox/mapbox-gl-js#1416
My Problem now is, that the contextmenu event seems to be not supported by react-map-gl. So I cant listen to right click events.
I suggest a onContextmenu-prop on the InteractiveMap that consumes a callback.
The text was updated successfully, but these errors were encountered:
As far as I have understood, Mapbox does not fire a click event when a right click occurs. Instead it fires a contextmenu event. See mapbox/mapbox-gl-js#1416
My Problem now is, that the contextmenu event seems to be not supported by react-map-gl. So I cant listen to right click events.
I suggest a onContextmenu-prop on the InteractiveMap that consumes a callback.
The text was updated successfully, but these errors were encountered: