We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Sister issue to tangrams/tangram#692 on JS side.
Currently the priority property of point and text draw styles only supports ints, but Tangram JS support floats. (Both support functions).
priority
Tilezen is adding a new collision_rank property in v1.7 that we'd like to use along with min_zoom to return a float.
collision_rank
min_zoom
This comment is the tl;dr:
Specifically, this should allow a function like (which returns a float):
priority = feature.properties.min_zoom + (1 - 1 / feature.properties.collision_rank) * 0.1
The text was updated successfully, but these errors were encountered:
/cc @tallytalwar
Sorry, something went wrong.
tallytalwar
Successfully merging a pull request may close this issue.
Sister issue to tangrams/tangram#692 on JS side.
Currently the
priority
property of point and text draw styles only supports ints, but Tangram JS support floats. (Both support functions).Tilezen is adding a new
collision_rank
property in v1.7 that we'd like to use along withmin_zoom
to return a float.This comment is the tl;dr:
Specifically, this should allow a function like (which returns a float):
The text was updated successfully, but these errors were encountered: