add icons to stylesheet
authorAndy Allan <gravitystorm@gmail.com>
Thu, 3 Dec 2009 14:56:38 +0000 (14:56 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Thu, 3 Dec 2009 14:56:38 +0000 (14:56 +0000)
resources/potlatch.css

index 885fc74cc33946e4f1c05377d729c431d1a8fb41..4667f1e8d702c787dac6b3f6696850f40ca49698 100644 (file)
@@ -70,6 +70,25 @@ way[public_transport=pay_scale_area] :area  { color: gray;    width: 1; fill-col
 node[amenity=pub] { icon-image: icons/pub.png; text-offset: 7; font-family: DejaVu; text: name; font-size: 9; }
 node[place] { icon-image: icons/place.png; text-offset: 17; font-family: DejaVu; text: name; font-size: 9; font-weight: bold; text-decoration: underline; }
 node[railway=station] { icon-image: icons/station.png; text-offset: 13; font-family: DejaVu; text: name; font-size: 9; font-weight: bold; }
+node[aeroway=aerodrome] { icon-image: icons/airport.png; text-offset: 13; font-family: DejaVu; text: name; font-size: 10; }
+node[amenity=atm] { icon-image: icons/atm.png; }
+node[highway=bus_stop] { icon-image: icons/bus_stop.png; }
+node[amenity=cafe] { icon-image: icons/cafe.png; }
+node[shop=convenience] { icon-image: icons/convenience.png; }
+node[amenity=fast_food] { icon-image: icons/fast_food.png; }
+node[amenity=fire_station] { icon-image: icons/fire_station.png; }
+node[amenity=hospital] { icon-image: icons/hospital.png; }
+node[tourism=hotel] { icon-image: icons/hotel.png; }
+node[amenity=parking] { icon-image: icons/parking.png; }
+node[amenity=pharmacy] { icon-image: icons/pharmacy.png; }
+node[amenity=pharmacy][dispensing=yes] { icon-image: icons/pharmacy_dispensing.png; }
+node[amenity=police] { icon-image: icons/police.png; }
+node[amenity=post_box] { icon-image: icons/post_box.png; }
+node[amenity=recycling] { icon-image: icons/recycling.png; }
+node[amenity=restaurant] { icon-image: icons/restaurant.png; }
+node[amenity=school] { icon-image: icons/school.png; }
+node[amenity=taxi] { icon-image: icons/taxi.png; }
+node[amenity=telephone] { icon-image: icons/telephone.png; }
 way node[barrier=gate], way node[highway=gate] { icon-image: icons/gate.png; }
        
 /* We can stack styles at different z-index (depth) */