Skip to content

Instantly share code, notes, and snippets.

@anderser anderser/kommunebygger.css
Last active Aug 29, 2015

Embed
What would you like to do?
CartoCSS for kommunekart med navn på kommuner
Map {
background-color: #ffffff;
}
#kommuner {
polygon-fill: #e8e4e4;
polygon-opacity: 1;
line-color: #a1a1a1;
line-width: 0.5;
}
@sans:"Arial","Droid Sans Book","DejaVu Sans Book";
#kommunelabels[zoom>6] {
text-name:'[navn]';
text-face-name:@sans;
text-fill:#4e4e58;
text-size:8;
text-placement: interior;
text-character-spacing:1;
text-wrap-width:40;
text-line-spacing:2;
text-halo-radius:0.0;
text-halo-fill:rgba(0,0,0,0.75);
[zoom=8] {
text-size:12; text-character-spacing:1;
}
[zoom=9] {
text-size:14; text-character-spacing:2;
}
[zoom>9] {
text-size:16;
text-character-spacing:2;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.