You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following up from tilezen/vector-datasource#988, it sounds like Tangram JS does support float values on the priority property (but Tangram ES does not currently). Let's verify that and if so update the documentation. Else add support and document.
Confirmed fractional priorities work in Tangram JS already. So no code change :) Documentation should be updated, I'll leave this open for that -- but perhaps wait until it is supported in ES too, so we don't have to update twice?
Following up from tilezen/vector-datasource#988, it sounds like Tangram JS does support float values on the priority property (but Tangram ES does not currently). Let's verify that and if so update the documentation. Else add support and document.
This comment is the tl;dr:
Specifically, this should allow a function like (which returns a float):
Alternatively we've also talked about multi-key
priority
which could give more performance than a JS function. For example:Though in some other cases (like name) we treat lists as fallbacks not tie breakers.
The text was updated successfully, but these errors were encountered: