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 /stations.mss | |
download | openstreetmap-carto-upstream.tar openstreetmap-carto-upstream.tar.gz |
Imported Upstream version 2.13.0upstream/2.13.0upstream
Diffstat (limited to 'stations.mss')
-rw-r--r-- | stations.mss | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/stations.mss b/stations.mss new file mode 100644 index 0000000..c414a46 --- /dev/null +++ b/stations.mss @@ -0,0 +1,54 @@ +.stations { + [railway = 'subway_entrance'][zoom >= 18] { + point-file: url('symbols/walking.n.12.png'); + point-placement: interior; + } + + [railway = 'station'][zoom >= 12] { + point-file: url('symbols/halt.png'); + point-placement: interior; + [zoom >= 13] { + point-file: url('symbols/station_small.png'); + } + [zoom >= 14] { + text-name: "[name]"; + text-face-name: @bold-fonts; + text-size: 9; + text-fill: #66f; + text-dy: -8; + text-halo-radius: 1; + text-wrap-width: 0; + text-placement: interior; + } + [zoom >= 15] { + point-file: url('symbols/station.png'); + text-size: 11; + text-dy: -10; + } + } + + [railway = 'halt'], + [railway = 'tram_stop'], + [aerialway = 'station']::aerialway { + [zoom >= 13] { + point-file: url('symbols/halt.png'); + } + [zoom >= 15] { + point-file: url('symbols/station_small.png'); + } + [zoom >= 14] { + text-name: "[name]"; + text-face-name: @book-fonts; + text-size: 8; + text-fill: #66f; + text-dy: -8; + text-halo-radius: 1; + text-wrap-width: 0; + text-placement: interior; + [zoom >= 15] { + text-size: 10; + text-dy: -10; + } + } + } +} |