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 /amenity-points.mss | |
download | openstreetmap-carto-e5acdb08d6a5d251ada74374a0bbfdda115b4c20.tar openstreetmap-carto-e5acdb08d6a5d251ada74374a0bbfdda115b4c20.tar.gz |
Imported Upstream version 2.13.0upstream/2.13.0upstream
Diffstat (limited to 'amenity-points.mss')
-rw-r--r-- | amenity-points.mss | 1148 |
1 files changed, 1148 insertions, 0 deletions
diff --git a/amenity-points.mss b/amenity-points.mss new file mode 100644 index 0000000..42640f7 --- /dev/null +++ b/amenity-points.mss @@ -0,0 +1,1148 @@ +@marina-text: #576ddf; // also swimming_pool +@military-text: #99001a; +@park-text: #2c4b2c; + +.points { + [tourism = 'alpine_hut'][zoom >= 13]::tourism { + point-file: url('symbols/alpinehut.p.16.png'); + point-placement: interior; + } + + [amenity = 'shelter'][zoom >= 16]::amenity { + point-file: url('symbols/shelter2.p.16.png'); + point-placement: interior; + } + + [amenity = 'atm'][zoom >=17]::amenity { + point-file: url('symbols/atm2.p.16.png'); + point-placement: interior; + } + + [amenity = 'bank'][zoom >= 17]::amenity { + point-file: url('symbols/bank2.p.16.png'); + point-placement: interior; + } + + [amenity = 'bar'][zoom >=17]::amenity { + point-file: url('symbols/bar.p.20.png'); + point-placement: interior; + } + + [amenity = 'bicycle_rental'][zoom >= 17]::amenity { + point-file: url('symbols/rental_bicycle.p.20.png'); + point-placement: interior; + } + + [amenity = 'bus_stop']::amenity, + [highway = 'bus_stop']::highway { + [zoom >= 16] { + point-file: url('symbols/bus_stop_small.png'); + point-placement: interior; + } + [zoom >= 17] { + point-file: url('symbols/bus_stop.p.12.png'); + } + } + + [amenity = 'bus_station'][zoom >= 16]::amenity { + point-file: url('symbols/bus_station.n.16.png'); + point-placement: interior; + } + + [highway = 'traffic_signals'][zoom >= 17]::highway { + point-file: url('symbols/traffic_light.png'); + point-placement: interior; + } + + [amenity = 'cafe'][zoom >=17]::amenity { + point-file: url('symbols/cafe.p.16.png'); + point-placement: interior; + } + + [tourism = 'camp_site'][zoom >= 16]::tourism { + point-file: url('symbols/camping.n.16.png'); + point-placement: interior; + } + + [highway = 'ford'][zoom >= 16]::highway { + point-file: url('symbols/transport_ford.p.16.png'); + point-placement: interior; + } + + [tourism = 'caravan_site'][zoom >= 16]::tourism { + point-file: url('symbols/caravan_park.p.24.png'); + point-placement: interior; + } + + [amenity = 'car_sharing'][zoom >= 16]::amenity { + point-file: url('symbols/car_share.p.16.png'); + point-placement: interior; + } + + [tourism = 'chalet'][zoom >= 17]::tourism { + point-file: url('symbols/chalet.p.16.png'); + point-placement: interior; + } + + [amenity = 'cinema'][zoom >= 17]::amenity { + point-file: url('symbols/cinema.p.24.png'); + point-placement: interior; + } + + [amenity = 'fire_station'][zoom >= 17]::amenity { + point-file: url('symbols/firestation.p.16.png'); + point-placement: interior; + } + + [amenity = 'fuel'][zoom >= 17]::amenity { + point-file: url('symbols/fuel.p.16.png'); + point-placement: interior; + } + + [tourism = 'guest_house'][zoom >= 17]::tourism { + point-file: url('symbols/guest_house.p.16.png'); + point-placement: interior; + } + + [tourism = 'bed_and_breakfast'][zoom >= 17]::tourism { + point-file: url('symbols/bandb.p.20.png'); + point-placement: interior; + } + + [amenity = 'hospital'][zoom >= 15]::amenity { + point-file: url('symbols/hospital.p.16.png'); + point-placement: interior; + } + + [tourism = 'hostel'][zoom >= 17]::tourism { + point-file: url('symbols/hostel.p.20.png'); + point-placement: interior; + } + + [tourism = 'hotel'][zoom >= 17]::tourism { + point-file: url('symbols/hotel2.p.20.png'); + point-placement: interior; + } + + [tourism = 'motel'][zoom >= 17]::tourism { + point-file: url('symbols/motel.p.20.png'); + point-placement: interior; + } + + [tourism = 'information'][zoom >= 16]::tourism { + point-file: url('symbols/information.p.16.png'); + point-placement: interior; + } + + [amenity = 'embassy'][zoom >= 17]::amenity { + point-file: url('symbols/embassy.png'); + point-placement: interior; + } + + [amenity = 'library'][zoom >= 17]::amenity { + point-file: url('symbols/library.p.20.png'); + point-placement: interior; + } + + [amenity = 'courthouse'][zoom > 17]::amenity { + point-file: url('symbols/amenity_court.p.20.png'); + point-placement: interior; + } + + [waterway = 'lock']::waterway, + [lock = 'yes']::lock { + [zoom >= 15] { + point-file: url('symbols/lock_gate.png'); + point-placement: interior; + } + } + + [man_made = 'mast'][zoom >= 17]::man_made { + point-file: url('symbols/communications.p.20.png'); + point-placement: interior; + } + + [tourism = 'museum'][zoom >= 17]::tourism { + point-file: url('symbols/museum.p.16.png'); + point-placement: interior; + } + + [amenity = 'parking'][zoom >= 15]::amenity { + point-file: url('symbols/parking.p.16.png'); + point-placement: interior; + [access != ''][access != 'public'][access != 'yes'] { + point-file: url('symbols/parking_private.p.16.png'); + } + } + + [amenity = 'pharmacy'][zoom >= 17]::amenity { + point-file: url('symbols/pharmacy.p.16.png'); + point-placement: interior; + } + + [amenity = 'place_of_worship'][zoom >= 16]::amenity { + point-file: url('symbols/place_of_worship3.p.16.png'); + point-placement: interior; + [religion = 'christian'] { + point-file: url('symbols/christian3.p.14.png'); + } + [religion = 'muslim'] { + point-file: url('symbols/islamic3.p.16.png'); + } + [religion = 'sikh'] { + point-file: url('symbols/sikh3.p.16.png'); + } + [religion = 'jewish'] { + point-file: url('symbols/jewish3.p.16.png'); + } + [religion = 'hindu'] { + point-file: url('symbols/hindu.png'); + } + [religion = 'buddhist'] { + point-file: url('symbols/buddhist.png'); + } + [religion = 'shinto'] { + point-file: url('symbols/shinto.png'); + } + [religion = 'taoist'] { + point-file: url('symbols/taoist.png'); + } + } + + [amenity = 'police'][zoom >= 17]::amenity { + point-file: url('symbols/police.p.16.png'); + point-placement: interior; + } + + [amenity = 'post_box'][zoom >= 17]::amenity { + point-file: url('symbols/post_box.p.16.png'); + point-placement: interior; + } + + [amenity = 'post_office'][zoom >= 17]::amenity { + point-file: url('symbols/post_office.p.16.png'); + point-placement: interior; + } + + [amenity = 'pub'][zoom >= 16]::amenity { + point-file: url('symbols/pub.p.16.png'); + point-placement: interior; + } + + [amenity = 'biergarten'][zoom >= 16]::amenity { + point-file: url('symbols/biergarten.p.16.png'); + point-placement: interior; + } + + [amenity = 'recycling'][zoom >= 16]::amenity { + point-file: url('symbols/recycling.p.16.png'); + point-placement: interior; + } + + [amenity = 'restaurant'][zoom >= 17]::amenity { + point-file: url('symbols/restaurant.p.16.png'); + point-placement: interior; + } + + [amenity = 'fast_food'][zoom >= 17]::amenity { + point-file: url('symbols/fast_food.png'); + point-placement: interior; + } + + [amenity = 'telephone'][zoom >= 17]::amenity { + point-file: url('symbols/telephone.p.16.png'); + point-placement: interior; + } + + [amenity = 'emergency_phone'][zoom >= 17]::amenity { + point-file: url('symbols/sosphone.png'); + point-placement: interior; + } + + [amenity = 'theatre'][zoom >= 17]::amenity { + point-file: url('symbols/theatre.p.20.png'); + point-placement: interior; + } + + [amenity = 'toilets'][zoom >= 17]::amenity { + point-file: url('symbols/toilets.p.20.png'); + point-placement: interior; + } + + [amenity = 'drinking_water'][zoom >= 17]::amenity { + point-file: url('symbols/food_drinkingtap.p.20.png'); + point-placement: interior; + } + + [amenity = 'prison'][zoom >= 17]::amenity { + point-file: url('symbols/amenity_prison.p.20.png'); + point-placement: interior; + } + + [tourism = 'viewpoint'][zoom >= 16]::tourism { + point-file: url('symbols/view_point.p.16.png'); + point-placement: interior; + } + + [man_made = 'water_tower'][zoom >= 17]::man_made { + point-file: url('symbols/tower_water.p.20.png'); + point-placement: interior; + } + + [historic = 'memorial'][zoom >= 17]::historic { + point-file: url('symbols/tourist_memorial.p.20.png'); + point-placement: interior; + } + + [historic = 'archaeological_site'][zoom >= 16]::historic { + point-file: url('symbols/tourist_archaeological2.glow.24.png'); + point-placement: interior; + } + + [shop = 'supermarket'][zoom >= 16]::shop { + point-file: url('symbols/shop_supermarket.p.16.png'); + point-placement: interior; + } + + [shop = 'bakery'][zoom >= 17]::shop { + point-file: url('symbols/shop_bakery.p.16.png'); + point-placement: interior; + } + + [shop = 'butcher'][zoom >= 17]::shop { + point-file: url('symbols/shop_butcher.png'); + point-placement: interior; + } + + [shop = 'clothes']::shop, + [shop = 'fashion']::shop { + [zoom >= 17] { + point-file: url('symbols/shop_clothes.p.16.png'); + point-placement: interior; + } + } + + [shop = 'convenience'][zoom >= 17]::shop { + point-file: url('symbols/shop_convenience.p.16.png'); + point-placement: interior; + } + + [shop = 'department_store'][zoom >= 16]::shop { + point-file: url('symbols/department_store.p.16.png'); + point-placement: interior; + } + + [shop = 'doityourself'][zoom >= 17]::shop { + point-file: url('symbols/shop_diy.p.16.png'); + point-placement: interior; + } + + [shop = 'florist'][zoom >= 17]::shop { + point-file: url('symbols/florist.p.16.png'); + point-placement: interior; + } + + [shop = 'hairdresser'][zoom >= 17]::shop { + point-file: url('symbols/shop_hairdresser.p.16.png'); + point-placement: interior; + } + + [shop = 'car'][zoom >= 17]::shop { + point-file: url('symbols/shopping_car.p.16.png'); + point-placement: interior; + } + + [shop = 'car_repair'][zoom >= 17]::shop { + point-file: url('symbols/shopping_car_repair.p.16.png'); + point-placement: interior; + } + + [shop = 'bicycle'][zoom >= 17]::shop { + point-file: url('symbols/shopping_bicycle.p.16.png'); + point-placement: interior; + } + + [leisure = 'playground'][zoom >= 17]::leisure { + point-file: url('symbols/playground.p.20.png'); + point-placement: interior; + } + + [tourism = 'picnic_site'][zoom >= 16]::tourism { + point-file: url('symbols/picnic.p.16.png'); + point-placement: interior; + } + + [leisure = 'picnic_table'][zoom >= 17]::leisure { + point-file: url('symbols/picnic.p.16.png'); + point-placement: interior; + } + + [leisure = 'slipway'][zoom >= 17]::leisure { + point-file: url('symbols/transport_slipway.p.20.png'); + point-placement: interior; + } +} + + +.text { + [place = 'island'][zoom >= 12]::place { + text-name: "[name]"; + text-fill: #000; + text-size: 9; + text-face-name: @oblique-fonts; + text-halo-radius: 1; + text-placement: interior; + } + + [amenity = 'pub']::amenity, + [amenity = 'restaurant']::amenity, + [amenity = 'cafe']::amenity, + [amenity = 'fast_food']::amenity, + [amenity = 'biergarten']::amenity { + [zoom >= 17] { + text-name: "[name]"; + text-fill: #734a08; + text-size: 10; + text-dy: 9; + text-face-name: @bold-fonts; + text-halo-radius: 1; + text-wrap-width: 34; + text-placement: interior; + } + } + + [amenity = 'bar'][zoom >= 17]::amenity { + text-name: "[name]"; + text-size: 10; + text-fill: #734a08; + text-dy: 11; + text-face-name: @bold-fonts; + text-halo-radius: 1; + text-placement: interior; + } + + [amenity = 'library']::amenity, + [amenity = 'theatre']::amenity, + [amenity = 'courthouse']::amenity { + [zoom >= 17] { + text-name: "[name]"; + text-size: 10; + text-fill: #734a08; + text-dy: 12; + text-face-name: @bold-fonts; + text-halo-radius: 1; + text-placement: interior; + } + } + + [amenity = 'cinema'][zoom >= 17]::amenity { + text-name: "[name]"; + text-size: 10; + text-fill: #734a08; + text-dy: 14; + text-face-name: @bold-fonts; + text-halo-radius: 1; + text-placement: interior; + } + + [amenity = 'parking'][zoom >= 17]::amenity { + text-name: "[name]"; + text-size: 9; + text-fill: #0066ff; + text-dy: 9; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 34; + text-placement: interior; + [access != ''][access != 'public'][access != 'yes'] { + text-fill: #66ccaf; + } + } + + [amenity = 'police'][zoom >= 17]::amenity { + text-name: "[name]"; + text-size: 10; + text-fill: #734a08; + text-dy: 10; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 30; + text-placement: interior; + } + + [amenity = 'fire_station'][zoom >= 17]::amenity { + text-name: "[name]"; + text-size: 10; + text-fill: #734a08; + text-dy: 9; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 30; + text-placement: interior; + } + + [amenity = 'place_of_worship'][zoom >= 17]::amenity { + text-name: "[name]"; + text-size: 10; + text-fill: #000033; + text-dy: 12; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 30; + text-placement: interior; + } + + [natural = 'wood'][zoom >= 15]::natural { + text-name: "[name]"; + text-size: 10; + text-fill: darken(@wood, 50%); + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + text-placement: interior; + } + + [natural = 'peak']::natural, + [natural = 'volcano']::natural { + [zoom >= 13] { + text-name: "[name]"; + text-size: 10; + text-fill: brown; + text-dy: 7; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-placement: interior; + ele/text-name: "[ele]"; + ele/text-size: 9; + ele/text-fill: brown; + ele/text-dy: 6; + ele/text-face-name: @oblique-fonts; + ele/text-halo-radius: 1; + ele/text-placement: interior; + [name != ''] { + ele/text-dy: 19; + } + } + } + + [natural = 'cave_entrance'][zoom >= 15]::natural { + text-name: "[name]"; + text-size: 10; + text-fill: brown; + text-dy: 9; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 20; + text-placement: interior; + } + + [historic = 'memorial'][zoom >= 17]::historic { + text-name: "[name]"; + text-size: 9; + text-fill: brown; + text-dy: 13; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 20; + text-placement: interior; + } + + [historic = 'archaeological_site'][zoom >= 17]::historic { + text-name: "[name]"; + text-size: 9; + text-fill: brown; + text-dy: 15; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 20; + text-placement: interior; + } + + [natural = 'water']::natural, + [natural = 'lake']::natural, + [landuse = 'reservoir']::landuse, + [landuse = 'basin']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 12; + text-fill: @water-text; + text-face-name: @oblique-fonts; + text-halo-radius: 1; + text-wrap-width: 20; + text-placement: interior; + } + } + + [leisure = 'swimming_pool']::leisure { + [zoom >= 17] { + text-name: "[name]"; + text-size: 9; + text-fill: @marina-text; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + text-placement: interior; + } + } + + [leisure = 'sports_centre']::leisure, + [leisure = 'stadium']::leisure, + [leisure = 'track']::leisure, + [leisure = 'pitch']::leisure { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@stadium, 30%); + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + text-placement: interior; + } + } + + [leisure = 'playground']::leisure, + [leisure = 'park']::leisure, + [leisure = 'recreation_ground']::leisure, + [landuse = 'recreation_ground']::landuse, + [landuse = 'conservation']::landuse, + [landuse = 'village_green']::landuse, + [leisure = 'common']::leisure, + [leisure = 'garden']::leisure, + [leisure = 'golf_course']::leisure, + [leisure = 'nature_reserve']::leisure { + [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: @park-text; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-halo-fill: rgba(255,255,255,0.6); + text-wrap-width: 30; + text-placement: interior; + } + } + + [landuse = 'quarry']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: #000; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + } + } + + [landuse = 'vineyard']::landuse, + [landuse = 'orchard']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@vineyard, 50%); + text-face-name: @book-fonts; + // extra halo needed to overpower the cemetery polygon pattern + text-halo-radius: 1.5; + text-wrap-width: 10; + } + } + + [landuse = 'cemetery']::landuse, + [landuse = 'grave_yard']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@cemetery, 50%); + text-face-name: @book-fonts; + // extra halo needed to overpower the cemetery polygon pattern + text-halo-radius: 1.5; + text-wrap-width: 10; + } + } + + [landuse = 'residential']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: #000; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + } + } + + [landuse = 'garages']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@garages, 50%); + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + } + } + + [landuse = 'field']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@field, 50%); + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + } + } + + [landuse = 'meadow']::landuse, + [landuse = 'grass']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@grass, 65%); + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + } + } + + [landuse = 'allotments']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@allotments, 60%); + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + } + } + + [landuse = 'forest']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@forest, 50%); + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + } + } + + [landuse = 'farm']::landuse, + [landuse = 'farmland']::landuse, + [landuse = 'farmyard']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@farm, 70%); + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + } + } + + [landuse = 'retail']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@retail, 60%); + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + } + } + + [landuse = 'industrial']::landuse, + [landuse = 'railway']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@industrial, 60%); + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + } + } + + [landuse = 'commercial']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@commercial, 60%); + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + } + } + + [landuse = 'brownfield']::landuse, + [landuse = 'landfill']::landuse, + [landuse = 'greenfield']::landuse, + [landuse = 'construction']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: darken(@construction, 50%); + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + } + } + + [natural = 'bay'][zoom >= 14]::natural { + text-name: "[name]"; + text-size: 10; + text-fill: #6699cc; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 20; + text-placement: interior; + } + + [natural = 'spring'][zoom >= 16]::natural { + text-name: "[name]"; + text-size: 10; + text-fill: #6699cc; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 20; + text-placement: interior; + text-dy: 6; + } + + [tourism = 'alpine_hut'][zoom >= 15]::tourism { + text-name: "[name]"; + text-size: 9; + text-fill: #6699cc; + text-dy: 10; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-placement: interior; + [zoom >= 16] { + ele/text-name: "[ele]"; + ele/text-size: 8; + ele/text-fill: #6699cc; + ele/text-dy: 22; + ele/text-face-name: @oblique-fonts; + ele/text-halo-radius: 1; + ele/text-placement: interior; + } + } + + [amenity = 'shelter'][zoom >= 17]::amenity { + text-name: "[name]"; + text-size: 9; + text-fill: #6699cc; + text-dy: 10; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-placement: interior; + ele/text-name: "[ele]"; + ele/text-size: 8; + ele/text-fill: #6699cc; + ele/text-dy: 22; + ele/text-face-name: @oblique-fonts; + ele/text-halo-radius: 1; + ele/text-placement: interior; + } + + [amenity = 'bank'][zoom >= 17]::amenity { + text-name: "[name]"; + text-size: 9; + text-fill: black; + text-dy: 9; + text-halo-radius: 1; + text-placement: interior; + text-face-name: @book-fonts; + } + + [tourism = 'hotel']::tourism, + [tourism = 'motel']::tourism, + [tourism = 'hostel']::tourism, + [tourism = 'chalet']::tourism { + [zoom >= 17] { + text-name: "[name]"; + text-size: 10; + text-fill: #0066ff; + text-dy: 11; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-placement: interior; + } + } + + [amenity = 'embassy'][zoom >= 17]::amenity { + text-name: "[name]"; + text-size: 9; + text-fill: #0066ff; + text-dy: 8; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-placement: interior; + } + + [tourism = 'guest_house'][zoom >= 17]::tourism { + text-name: "[name]"; + text-size: 8; + text-fill: #0066ff; + text-dy: 10; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-placement: interior; + } + + [tourism = 'bed_and_breakfast'][zoom >= 17]::tourism { + text-name: "[name]"; + text-size: 8; + text-fill: #0066ff; + text-dy: 8; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-placement: interior; + } + + [amenity = 'fuel']::amenity, + [amenity = 'bus_station']::amenity { + [zoom >= 17] { + text-name: "[name]"; + text-size: 9; + text-fill: #0066ff; + text-dy: 9; + text-face-name: @book-fonts; + text-halo-radius: 1; + } + } + + [tourism = 'camp_site'][zoom >= 17]::tourism { + text-name: "[name]"; + text-size: 10; + text-fill: #0066ff; + text-dy: 15; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 70; + } + + [tourism = 'caravan_site'][zoom >= 17]::tourism { + text-name: "[name]"; + text-size: 10; + text-fill: #0066ff; + text-dy: 19; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 70; + } + + [waterway = 'lock'][zoom >= 15]::waterway { + text-name: "[name]"; + text-size: 9; + text-dy: 10; + text-fill: #0066ff; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 70; + } + + [leisure = 'marina'][zoom >= 15]::leisure { + text-name: "[name]"; + text-size: 8; + text-fill: @marina-text; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 30; + text-placement: interior; + [zoom >= 17] { + text-size: 10; + } + } + + [tourism = 'theme_park'][zoom >= 14]::tourism { + text-name: "[name]"; + text-size: 8; + text-fill: #734a08; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 30; + text-placement: interior; + [zoom >= 16] { + text-size: 10; + } + } + + [tourism = 'museum'][zoom >= 17]::tourism { + text-name: "[name]"; + text-size: 10; + text-dy: 10; + text-fill: #734a08; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-placement: interior; + } + + [amenity = 'prison'][zoom >= 17]::amenity { + text-name: "[name]"; + text-size: 10; + text-fill: #734a08; + text-dy: 16; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-placement: interior; + } + + [tourism = 'attraction'][zoom >= 16]::tourism { + text-name: "[name]"; + text-size: 10; + text-fill: #660033; + text-face-name: @book-fonts; + text-halo-radius: 2; + text-wrap-width: 10; + text-placement: interior; + } + + [amenity = 'university'][zoom >= 15]::amenity { + text-name: "[name]"; + text-size: 9; + text-fill: #000033; + text-face-name: @bold-fonts; + text-halo-radius: 1; + text-wrap-width: 16; + text-placement: interior; + } + + [amenity = 'school']::amenity, + [amenity = 'college']::amenity { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: #000033; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 14; + text-placement: interior; + } + } + + [amenity = 'kindergarten'][zoom >= 16]::amenity { + text-name: "[name]"; + text-size: 8; + text-fill: #000033; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 14; + text-placement: interior; + } + + [man_made = 'lighthouse'][zoom >= 15]::man_made { + text-name: "[name]"; + text-size: 9; + text-fill: #000033; + text-dy: 16; + text-face-name: @book-fonts; + text-halo-radius: 2; + text-wrap-width: 12; + text-placement: interior; + } + + [man_made = 'windmill'][zoom >= 17]::man_made { + text-name: "[name]"; + text-size: 9; + text-fill: #734a08; + text-dy: 12; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 20; + text-placement: interior; + } + + [amenity = 'hospital'][zoom >= 16]::amenity { + text-name: "[name]"; + text-fill: #da0092; + text-size: 8; + text-dy: 10; + text-face-name: @book-fonts; + text-halo-radius: 2; + text-wrap-width: 24; + text-placement: interior; + } + + [amenity = 'pharmacy'][zoom >= 17]::amenity { + text-name: "[name]"; + text-size: 8; + text-dy: 10; + text-fill: #da0092; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 12; + text-placement: interior; + } + + [shop = 'bakery']::shop, + [shop = 'clothes']::shop, + [shop = 'fashion']::shop, + [shop = 'convenience']::shop, + [shop = 'doityourself']::shop, + [shop = 'hairdresser']::shop, + [shop = 'butcher']::shop, + [shop = 'car']::shop, + [shop = 'car_repair']::shop, + [shop = 'bicycle']::shop, + [shop = 'florist']::shop { + [zoom >= 17] { + text-name: "[name]"; + text-size: 8; + text-dy: 10; + text-fill: #939; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 12; + text-placement: interior; + } + } + + [shop = 'supermarket']::shop, + [shop = 'department_store']::shop { + [zoom >= 16] { + text-name: "[name]"; + text-size: 9; + text-dy: 9; + text-fill: #939; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 20; + text-placement: interior; + } + } + + [military = 'danger_area'][zoom >= 12]::military { + text-name: "[name]"; + text-size: 9; + text-fill: @military-text; + text-face-name: @bold-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + text-placement: interior; + } + + [landuse = 'military']::landuse { + [zoom >= 15] { + text-name: "[name]"; + text-size: 9; + text-fill: @military-text; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + text-placement: interior; + } + } + + [aeroway = 'gate'][zoom >= 17]::aeroway { + text-name: "[ref]"; + text-size: 10; + text-fill: #aa66cc; + text-face-name: @book-fonts; + text-halo-radius: 1; + text-wrap-width: 10; + text-placement: interior; + } +} |