Skip to content

V7 interactable Popups #1742

Answered by Pessimistress
pequeurb asked this question in Q&A
Feb 11, 2022 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

I would love to use the cooperative gestures, but I can't do it at the cost of losing functionality on my Popups.

Even when the old Popup component is moved to a different project, you still won't be able to use it with cooperative gestures, because DeckGL is the one handling user input, not the react-map-gl Map.

To use mapbox's event handlers you can look into using deck.gl as a custom layer, or inject the deck.gl canvas into the map container with useControl.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@pequeurb
Comment options

@pequeurb
Comment options

@Pessimistress
Comment options

Answer selected by pequeurb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants