Skip to content

Instantly share code, notes, and snippets.

@mhkeller
Created November 1, 2012 16:03
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mhkeller/3994581 to your computer and use it in GitHub Desktop.
Save mhkeller/3994581 to your computer and use it in GitHub Desktop.
Polygon labels in CartoDB / Tilemill Carto
via @andrewxhill
#your_table_name::text_style {
text-face-name:"DejaVu Sans Book";
text-name:"[name]";
text-fill:#FFF;
text-halo-fill:rgba(0,0,0,0.5);
text-halo-radius:1;
text-size:11;
text-allow-overlap: false;
text-clip: false;
text-label-position-tolerance: 10;
text-min-distance: 10;
text-vertical-alignment: bottom;
line-color:#FFFFFF;
line-width:0;
line-opacity:0.7;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment