#amenity-points { [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; } [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; } [amenity = 'car_sharing'][zoom >= 16]::amenity { point-file: url('symbols/car_share.p.16.png'); point-placement: interior; } [amenity = 'cinema'][zoom >= 17]::amenity { point-file: url('symbols/cinema.p.24.png'); point-placement: interior; } [amenity = 'hospital'][zoom >= 15]::amenity { point-file: url('symbols/hospital.p.16.png'); point-placement: interior; } [tourism = 'information'][zoom >= 16]::tourism { point-file: url('symbols/information.p.16.png'); point-placement: interior; } [amenity = 'library'][zoom >= 17]::amenity { point-file: url('symbols/library.p.20.png'); point-placement: interior; } [amenity = 'place_of_worship'][zoom >= 16]::amenity { point-placement: interior; [religion = 'christian'] { point-file: url('symbols/christian3.p.14.png'); } [religion = 'muslim'] { point-file: url('symbols/islamic3.p.16.png'); } } [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 = '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 = 'telephone'][zoom >= 17]::amenity { point-file: url('symbols/telephone.p.16.png'); point-placement: interior; } /* [barrier = 'bollard'], [barrier = 'block'] { [zoom >= 16] { point-file: url('symbols/bollard.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; } [shop = 'convenience'][zoom >= 17]::shop { point-file: url('symbols/shop_convenience.p.16.png'); point-placement: interior; } [shop = 'hairdresser'][zoom >= 17]::shop { point-file: url('symbols/shop_hairdresser.p.16.png'); point-placement: interior; } } #amenity-poly { [amenity = 'pub']::amenity, [amenity = 'restaurant']::amenity, [amenity = 'cafe']::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; [name = "The Stag\'s"] { point-file: url('logos/stags-head2.png'); } } } [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; //point-file: url('symbols/bar.p.20.png'); //point-placement: interior; [name = "The Bridge"] { point-file: url('logos/the-bridge2.png'); [zoom >= 20] { point-file: url('logos/the-bridge.png'); } //text-dy: -12; } } [amenity = 'library']::amenity, [amenity = 'theatre']::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; point-file: url('symbols/parking.p.16.png'); point-placement: interior; [access != ''][access != 'public'][access != 'yes'] { text-fill: #66ccaf; point-file: url('symbols/parking_private.p.16.png'); } } /* [natural = 'wood'][zoom >= 15]::natural { text-name: "[name]"; text-size: 10; text-fill: #000; text-face-name: @book-fonts; text-halo-radius: 2; text-wrap-width: 10; 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; } [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; } } [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; } [shop = 'convenience'][zoom >= 17]::shop { point-file: url('symbols/shop_convenience.p.16.png'); point-placement: interior; [name = "SUSU Shop"] { point-file: url('logos/susu-shop2.png'); [zoom >= 20] { point-file: url('logos/susu-shop.png'); } } } }