Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
184 lines (176 sloc) 4.053 kB
@placenames: #222;
@placenames-light: #777777;
.country {
[admin_level = '2'][zoom >= 2][way_pixels > 3000][way_pixels < 196000] {
text-name: "[name]";
text-size: 9;
text-fill: #9d6c9d;
text-face-name: @book-fonts;
text-halo-radius: 1.5;
text-wrap-width: 50;
text-placement: interior;
[zoom >= 4] {
text-size: 10;
}
}
}
.state {
[admin_level = '4'] {
[zoom >= 4][zoom < 5][way_pixels > 750][way_pixels < 196000],
[zoom >= 5][way_pixels > 3000][way_pixels < 196000] {
text-name: "[ref]";
text-size: 9;
text-fill: #9d6c9d;
text-face-name: @oblique-fonts;
text-halo-radius: 1.5;
text-wrap-width: 0;
text-placement: interior;
[zoom >= 5] {
text-name: "[name]";
text-wrap-width: 50;
}
[zoom >= 7] {
text-size: 11;
text-wrap-width: 70;
}
}
}
}
#placenames-capital {
[zoom >= 5][zoom < 15] {
text-name: "[name]";
text-size: 10;
text-fill: @placenames;
text-face-name: @book-fonts;
text-halo-radius: 1.5;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: 45;
text-min-distance: 10;
[zoom >= 6] {
text-size: 12;
text-wrap-width: 60;
}
[zoom >= 11] {
text-size: 15;
text-wrap-width: 75;
}
}
}
#placenames-medium::city {
[place = 'city'] {
[zoom >= 6][zoom < 15] {
text-name: "[name]";
text-size: 9;
text-fill: @placenames;
text-face-name: @book-fonts;
text-halo-radius: 1.5;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: 45;
text-min-distance: 10;
[zoom >= 9] {
text-size: 12;
text-wrap-width: 60;
}
[zoom >= 11] {
text-size: 15;
text-wrap-width: 75;
}
}
}
}
#placenames-medium::town {
[place = 'town'] {
[zoom >= 9][zoom < 16] {
text-name: "[name]";
text-size: 9;
text-fill: @placenames;
text-face-name: @book-fonts;
text-halo-radius: 1.5;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: 45;
text-min-distance: 10;
[zoom >= 11] {
text-size: 11;
text-wrap-width: 55;
}
[zoom >= 12] {
text-size: 13;
text-wrap-width: 65;
}
[zoom >= 14] {
text-size: 15;
text-wrap-width: 75;
}
}
}
}
#placenames-small::suburb {
[place = 'suburb'][zoom >= 12][zoom < 17] {
text-name: "[name]";
text-size: 11;
text-fill: @placenames;
text-face-name: @book-fonts;
text-halo-radius: 1.5;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: 55;
text-min-distance: 10;
[zoom >= 14] {
text-size: 14;
text-wrap-width: 70;
text-fill: @placenames-light;
text-halo-fill: white;
}
[zoom >= 16] {
text-size: 15;
text-wrap-width: 75;
}
}
}
#placenames-small::village {
[place = 'village'] {
[zoom >= 12][zoom < 17] {
text-name: "[name]";
text-size: 10;
text-fill: @placenames;
text-face-name: @book-fonts;
text-halo-radius: 1.5;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: 50;
text-min-distance: 10;
[zoom >= 14] {
text-fill: @placenames-light;
text-halo-fill: white;
text-size: 13;
text-wrap-width: 65;
}
[zoom >= 16] {
text-size: 15;
text-wrap-width: 75;
}
}
}
}
#placenames-small::hamlet {
[place = 'hamlet'],
[place = 'locality'],
[place = 'neighbourhood'],
[place = 'isolated_dwelling'],
[place = 'farm'] {
[zoom >= 15] {
text-name: "[name]";
text-size: 9;
text-fill: @placenames;
text-face-name: @book-fonts;
text-halo-radius: 1.5;
text-halo-fill: rgba(255,255,255,0.6);
text-wrap-width: 45;
text-min-distance: 10;
}
[zoom >= 16] {
text-size: 12;
text-wrap-width: 60;
text-fill: @placenames-light;
text-halo-fill: white;
}
}
}
Jump to Line
Something went wrong with that request. Please try again.