cartocss

CartoCSS markers

风流意气都作罢 提交于 2019-12-13 04:19:40
问题 I want to put markers (circle) on my map render defined in cartocss tilemill. But on zoom levels 4-5-6 I have problem that render displays markers without city name, because there is no enough space for city name. Is there an option that forces to display both marker and city name or none of them? 回答1: Use shield instead of text + marker combo. Note that for text offset you would need to use shield-text-dx , not shield-dx . 来源: https://stackoverflow.com/questions/23406923/cartocss-markers

Show admin labels for only one country via CartoCSS in Mapbox Studio

倾然丶 夕夏残阳落幕 提交于 2019-12-11 04:13:32
问题 I'd like to show admin labels for only one country on a map of Latin America. I'm new to CartoCSS and can't figure it out. I tried inspecting the labels and couldn't discern any hierarchy in the OSM ids that might help. 来源: https://stackoverflow.com/questions/30676224/show-admin-labels-for-only-one-country-via-cartocss-in-mapbox-studio