From e3c3971760a4f4f1b832b57c6eba36b1b6e9093f Mon Sep 17 00:00:00 2001 From: james2432 Date: Tue, 20 Mar 2018 09:40:59 -0400 Subject: [PATCH] Issue #3070 Add amenity clock icon --- amenity-points.mss | 7 +++++++ project.mml | 4 ++-- symbols/clock.svg | 31 +++++++++++++++++++++++++++++++ 3 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 symbols/clock.svg diff --git a/amenity-points.mss b/amenity-points.mss index 38d685b4f5..ddefb6de6e 100644 --- a/amenity-points.mss +++ b/amenity-points.mss @@ -78,6 +78,13 @@ marker-clip: false; } + [feature = 'amenity_clock'][zoom >= 18] { + marker-file: url('symbols/clock.svg'); + marker-fill: @man-made-icon; + marker-placement: interior; + marker-clip: false; + } + [feature = 'highway_bus_stop'] { [zoom >= 16] { marker-file: url('symbols/square.svg'); diff --git a/project.mml b/project.mml index fa2ac6d6ce..b115040991 100644 --- a/project.mml +++ b/project.mml @@ -1534,7 +1534,7 @@ Layer: 'aeroway_' || CASE WHEN aeroway IN ('helipad', 'aerodrome') THEN aeroway ELSE NULL END, 'tourism_' || CASE WHEN tourism IN ('artwork', 'alpine_hut', 'camp_site', 'caravan_site', 'chalet', 'wilderness_hut', 'guest_house', 'apartment', 'hostel', 'hotel', 'motel', 'information', 'museum', 'picnic_site') THEN tourism ELSE NULL END, - 'amenity_' || CASE WHEN amenity IN ('shelter', 'atm', 'bank', 'bar', 'bicycle_rental', 'bus_station', 'cafe', 'public_bath', + 'amenity_' || CASE WHEN amenity IN ('shelter', 'atm', 'bank', 'bar', 'bicycle_rental', 'bus_station', 'cafe', 'clock', 'public_bath', 'car_rental', 'car_wash', 'cinema', 'clinic', 'community_centre', 'fire_station', 'fountain', 'fuel', 'hospital', 'ice_cream', 'embassy', 'library', 'courthouse', 'townhall', 'parking', 'bicycle_parking', 'motorcycle_parking', 'pharmacy', 'doctors', 'dentist', 'place_of_worship', @@ -2113,7 +2113,7 @@ Layer: 'aeroway_' || CASE WHEN aeroway IN ('gate', 'apron', 'helipad', 'aerodrome') THEN aeroway ELSE NULL END, 'tourism_' || CASE WHEN tourism IN ('artwork', 'alpine_hut', 'hotel', 'motel', 'hostel', 'chalet', 'wilderness_hut', 'guest_house', 'apartment', 'camp_site', 'caravan_site', 'theme_park', 'museum', 'zoo', 'information', 'picnic_site') THEN tourism ELSE NULL END, - 'amenity_' || CASE WHEN amenity IN ('pub', 'restaurant', 'food_court', 'cafe', 'fast_food', 'biergarten', 'bar', 'library', 'theatre', + 'amenity_' || CASE WHEN amenity IN ('pub', 'restaurant', 'food_court', 'cafe', 'clock', 'fast_food', 'biergarten', 'bar', 'library', 'theatre', 'courthouse', 'townhall', 'cinema', 'clinic', 'community_centre', 'parking', 'bicycle_parking', 'public_bath', 'motorcycle_parking', 'police', 'fire_station', 'fountain', 'place_of_worship', 'grave_yard', 'shelter', 'bank', 'embassy', 'fuel', 'bus_station', 'prison', 'university', 'school', 'college', 'kindergarten', 'hospital', diff --git a/symbols/clock.svg b/symbols/clock.svg new file mode 100644 index 0000000000..dc4813f8ec --- /dev/null +++ b/symbols/clock.svg @@ -0,0 +1,31 @@ + + + + + + image/svg+xml + + + + + + + + \ No newline at end of file