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

Control feature write order #132

Closed
systemed opened this issue Apr 10, 2019 · 1 comment
Closed

Control feature write order #132

systemed opened this issue Apr 10, 2019 · 1 comment

Comments

@systemed
Copy link
Owner

systemed commented Apr 10, 2019

Mapbox GL renders features in the order they appear in the source tiles (see mapbox/mapbox-gl-js#4361). This is particularly relevant when trying to achieve correct z-index for bridges/tunnels.

We should be able to sort features within a tile. This is probably best achieved by setting an optional (single-byte?) z-index value when writing to a layer, and then sorting features by this value before writing.

@Nakaner
Copy link
Contributor

Nakaner commented Jan 17, 2023

Resolved by #393

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