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

Make the style work with older tile builds missing sort_rank [#436] #440

Merged
merged 3 commits into from
Mar 29, 2025

Conversation

bdon
Copy link
Member

@bdon bdon commented Mar 28, 2025

@wipfli without this we get console warnings Expected value to be of type number, but found null instead. if the style depends on sort_rank but the tileset is a 4.x that doesn't contain it.

If we didn't want to do this then we would require a SemVer bump for this kind of change which seems painful.

@wipfli
Copy link
Collaborator

wipfli commented Mar 28, 2025

Good catch!

@bdon bdon merged commit 3b04799 into main Mar 29, 2025
5 checks passed
@bdon bdon deleted the backwards-compatible-sort-rank branch March 29, 2025 01:17
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

Successfully merging this pull request may close these issues.

2 participants