Add support for emergency defibrillator.
authorRob Norris <rw_norris@hotmail.com>
Tue, 24 May 2016 21:26:13 +0000 (22:26 +0100)
committerRob Norris <rw_norris@hotmail.com>
Tue, 24 May 2016 21:26:13 +0000 (22:26 +0100)
PNGs resized from public domain SVG on Wikimedia Common.

https://commons.wikimedia.org/wiki/File:ISO_7010_E010.svg

resources/features/pois/ISO_7010_E010.24.png [new file with mode: 0644]
resources/icons/ISO_7010_E010.16.png [new file with mode: 0644]
resources/map_features/amenities.xml
resources/stylesheets/core_pois.css

diff --git a/resources/features/pois/ISO_7010_E010.24.png b/resources/features/pois/ISO_7010_E010.24.png
new file mode 100644 (file)
index 0000000..c6dc71c
Binary files /dev/null and b/resources/features/pois/ISO_7010_E010.24.png differ
diff --git a/resources/icons/ISO_7010_E010.16.png b/resources/icons/ISO_7010_E010.16.png
new file mode 100644 (file)
index 0000000..ccebe7f
Binary files /dev/null and b/resources/icons/ISO_7010_E010.16.png differ
index 08267ce..325caac 100644 (file)
     <inputSet ref="common"/>
   </feature>
 
+  <feature name="Defibrillator">
+    <category>amenity</category>
+    <icon image="features/pois/ISO_7010_E010.24.png"/>
+    <help>http://wiki.openstreetmap.org/wiki/Tag:emergency%3Ddefibrillator</help>
+    <point/>
+    <tag k="emergency" v="defibrillator"/>
+    <inputSet ref="common"/>
+  </feature>
+
   <feature name="Veterinarian">
     <category>amenity</category>
     <icon image="features/pois/health_veterinary.n.8E7409.24.png">
index af0d812..a6c1771 100644 (file)
@@ -33,6 +33,7 @@ node[amenity=pub] { icon-image: icons/food_pub.n.16.png; text-offset: 15; text:
 node[amenity=restaurant] { icon-image: icons/food_restaurant.n.16.png; text-offset:15; text: name; font-size: 10; z-index: 20; }
 node[amenity=hospital] { icon-image: icons/health_hospital.n.16.png; z-index: 20; }
 node[amenity=pharmacy] { icon-image: icons/health_pharmacy.n.16.png; z-index: 20; }
+node[emergency=defibrillator] { icon-image: icons/ISO_7010_E010.16.png; z-index: 20; }
 node[amenity=atm] { icon-image: icons/money_atm.n.16.png; z-index: 20; }
 node[amenity=bank] { icon-image: icons/money_bank2.n.16.png; z-index: 20; }
 /* More Amenities */