Skip to content
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

Layers priority #89

Open
bdbmax opened this issue Feb 24, 2023 · 1 comment
Open

Layers priority #89

bdbmax opened this issue Feb 24, 2023 · 1 comment

Comments

@bdbmax
Copy link

bdbmax commented Feb 24, 2023

Let me know if I missed it and it's already a possible option!

It would be great to be able to declare some type of layers priority, e.g. a layer of lines always appearing over a choropleth layer. An option could be a new argument like 'before_id' where we could specify before which layer the new layer should appear. I think it's which array appears before which?

@anthonynorth
Copy link
Member

Layer rendering order is currently handled by index. First layer added is rendered on the bottom (above the basemap).

Interleaved deckgl and mapboxgl layers is planned. This will add support for before_id, which could be a mapboxgl or deckgl layer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants