Tuesday 22 September 2015

tilemill - Drawing text and line-dasharray


Is it possible with TileMills and CartoCSS?


enter image description here



Answer



Yes, it is. This rendering is common for contour lines. See this blog entry for CartoCSS code.


I should warn you that when using this code (specifically, text-comp-op operation), you won't be able to export your map in a vector format: SVG and PDF output would produce a raster image in a vector container. You might not need it though.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...