diff options
author | Christopher Baines <mail@cbaines.net> | 2014-04-17 14:15:25 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2014-04-17 14:15:25 +0100 |
commit | e5acdb08d6a5d251ada74374a0bbfdda115b4c20 (patch) | |
tree | 41565aea6bad5d40516f6c291dda952dfaadc805 /addressing.mss | |
download | openstreetmap-carto-e5acdb08d6a5d251ada74374a0bbfdda115b4c20.tar openstreetmap-carto-e5acdb08d6a5d251ada74374a0bbfdda115b4c20.tar.gz |
Imported Upstream version 2.13.0upstream/2.13.0upstream
Diffstat (limited to 'addressing.mss')
-rw-r--r-- | addressing.mss | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/addressing.mss b/addressing.mss new file mode 100644 index 0000000..a01a46b --- /dev/null +++ b/addressing.mss @@ -0,0 +1,49 @@ +#interpolation { + [zoom >= 17] { + line-color: #888; + line-width: 1; + line-dasharray: 2,4; + } +} + +#housenumbers { + [zoom >= 17] { + text-name: "[addr:housenumber]"; + text-placement: interior; + text-min-distance: 1; + text-wrap-width: 0; + text-face-name: @book-fonts; + text-fill: #444; + text-size: 9; + } +} + +#housenames { + [zoom >= 17] { + text-name: "[addr:housename]"; + text-placement: interior; + text-wrap-width: 20; + text-face-name: @book-fonts; + text-size: 8; + text-fill: #444; + [zoom >= 18] { + text-size: 9; + } + } +} + +#building-text { + [way_area >= 150000][zoom >= 14], + [way_area >= 80000][zoom >= 15], + [way_area >= 20000][zoom >= 16], + [zoom >= 17] { + text-name: "[name]"; + text-size: 11; + text-fill: #444; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 20; + text-halo-fill: rgba(255,255,255,0.5); + text-placement: interior; + } +} |