mercredi 25 mars 2015

How to restrict the number of symbols in feature name in CartoCSS?


I make a tourist map with CartoCSS in TileMill. There are several zooms and I would like to show markers of the objects on 15 zoom and their labels (names) on 16 or 17 zoom. If the number of symbols in name is too much (for ex., more than 10) I want to label them on 17 zoom, if there are less than 10 symbols, I want to label them on 16 zoom.


Could any one help how to set the restriction on the number of symbols either in CartoCSS or sql?





Aucun commentaire:

Enregistrer un commentaire