-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deck.gl "under" raw mapbox layer z-index #2173
Comments
@cyrilchapon We are working on an integration with the new custom layer API that mapbox is developing #2132 . In the meantime, you'd need to work with two mapbox/react-map-gl instances. It is not very efficient, but as long as you not using 3D graphics (except in the top component, whether deck or mapbox) it could be made to work. |
Duplicate of #2132 |
Hey ibgreen. Thanks. I'm ok for trading some perfs, temporarily, for this. Is there any example out there for the 2 maps instances strategy ? |
Not that I am aware of. I believe kepler.gl has the option to do it, but that code base is of course quite complex. If you are using React you should just be able to stack a StaticMap, Deck and StaticMap. |
@cyrilchapon Any luck with this? I'm currently in a similar situation where I would like to be able to show mapbox street and label layers over deck.gl layers. If you got this working and can provide an example it would be super helpful! |
Hey @Harrisandwich, sorry but I didn't fond anti solution so I went withtout deck.fl |
Hey,
I read about z contexts of deck.gl and mapbox.
In here we need some advanced visualizations, and are considering transitionning things from mapbox to deck.gl.
However, in the meantime of the transition, we need to overlay some deck.gl data in between multiple mapbox layers. Is that possible ?
The text was updated successfully, but these errors were encountered: