Added icons and POIs to map features
authorJenny Herbert <jennyh@svn.openstreetmap.org>
Sat, 1 May 2010 16:27:24 +0000 (16:27 +0000)
committerJenny Herbert <jennyh@svn.openstreetmap.org>
Sat, 1 May 2010 16:27:24 +0000 (16:27 +0000)
net/systemeD/potlatch2/TagViewer.mxml
resources/icons/cinema.png [new file with mode: 0644]
resources/icons/ferry_terminal.png [new file with mode: 0644]
resources/icons/museum.png [new file with mode: 0644]
resources/icons/place_of_worship.png [new file with mode: 0644]
resources/icons/supermarket.png
resources/icons/theatre.png [new file with mode: 0644]
resources/map_features.xml

index 45d6a0e..b18143f 100644 (file)
@@ -9,7 +9,7 @@
   <mx:VBox id="dndPanel" width="100%" height="100%">
     <!-- FIXME the panel text is repeated below for mouseOut -->
     <mx:Text id="dndPanelText" text="Drag and Drop Points of Interest" />
-    <mx:TileList id="poiGrid" dataProvider="{MapFeatures.getInstance().pois}" width="100%">
+    <mx:TileList id="poiGrid" dataProvider="{MapFeatures.getInstance().pois}" width="100%" height="100%">
       <mx:itemRenderer>
         <mx:Component>
           <mx:VBox mouseOver="parentDocument.dndPanelText.text = data.name"
diff --git a/resources/icons/cinema.png b/resources/icons/cinema.png
new file mode 100644 (file)
index 0000000..f43caba
Binary files /dev/null and b/resources/icons/cinema.png differ
diff --git a/resources/icons/ferry_terminal.png b/resources/icons/ferry_terminal.png
new file mode 100644 (file)
index 0000000..f387c03
Binary files /dev/null and b/resources/icons/ferry_terminal.png differ
diff --git a/resources/icons/museum.png b/resources/icons/museum.png
new file mode 100644 (file)
index 0000000..79346ab
Binary files /dev/null and b/resources/icons/museum.png differ
diff --git a/resources/icons/place_of_worship.png b/resources/icons/place_of_worship.png
new file mode 100644 (file)
index 0000000..3ef2b43
Binary files /dev/null and b/resources/icons/place_of_worship.png differ
index ad6cd2c..04944d1 100755 (executable)
Binary files a/resources/icons/supermarket.png and b/resources/icons/supermarket.png differ
diff --git a/resources/icons/theatre.png b/resources/icons/theatre.png
new file mode 100644 (file)
index 0000000..897a1e1
Binary files /dev/null and b/resources/icons/theatre.png differ
index a785c75..9925f2b 100644 (file)
   
   <!-- POI -->
   
+ <feature name="Aerodrome">
+    <category>aeroway</category>
+    <icon image="icons/airport.png"/>
+    <help>http://wiki.openstreetmap.org/wiki/Tag:aeroway%3Daerodrome</help>
+    <point />
+    <tag k="aeroway" v="aerodrome"/>
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the aerodrome/airport" priority="low"/>
+  </feature>
+
+
+ <feature name="Cinema">
+    <category>amenity</category>
+    <icon image="icons/cinema.png"/>
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dcinema</help>
+    <point />
+    <tag k="amenity" v="cinema"/>
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the cinema" priority="low"/>
+  </feature>
+
+ <feature name="Ferry Terminal">
+    <category>amenity</category>
+    <icon image="icons/ferry_terminal.png"/>
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dferry_terminal</help>
+    <point />
+    <tag k="amenity" v="ferry_terminal"/>
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The name of the ferry terminal." priority="low"/>
+<input type="freetext" presence="always" category="" name="Operator" key="operator" description="The operator of the ferry terminal." priority="low"/>
+<input type="freetext" presence="always" category="" name="Cargo" key="cargo" description="The cargo shipped from here." priority="low"/>
+  </feature>
+
+ <feature name="Fire station">
+    <category>amenity</category>
+    <icon image="icons/fire_station.png"/>
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dfire_station</help>
+    <point />
+    <tag k="amenity" v="fire_station"/>
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The Name of it." priority="low"/>
+  </feature>
+
+ <feature name="Hospital">
+    <category>amenity</category>
+    <icon image="icons/hospital.png"/>
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dhospital</help>
+    <point />
+    <tag k="amenity" v="hospital"/>
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The Name of it." priority="low"/>
+  </feature>
+
+ <feature name="Hotel">
+    <category>tourism</category>
+    <icon image="icons/hotel.png"/>
+    <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dhotel</help>
+    <point />
+    <tag k="tourism" v="hotel"/>
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The of it." priority="low"/>
+  </feature>
+
+ <feature name="Museum">
+    <category>tourism</category>
+    <icon image="icons/museum.png"/>
+    <help>http://wiki.openstreetmap.org/wiki/Tag:tourism%3Dmuseum</help>
+    <point />
+    <tag k="tourism" v="museum"/>
+    <input type="freetext" presence="always" category="" name="" key="" description="The name of it." priority="low"/>
+  </feature>
+
+ <feature name="Place of Worship">
+    <category>amenity</category>
+    <icon image="icons/place_of_worship.png"/>
+    <help>http://wiki.openstreetmap.org/wiki/Tag:amenity%3Dplace_of_worship</help>
+    <point />
+    <tag k="amenity" v="place_of_worship"/>
+    <input type="freetext" presence="always" category="" name="name" key="name" description="The name of it." priority="low"/>i
+    <input type="freetext" presence="always" category="" name="religion" key="religion" description="The religion worshiped here" priority="low"/>
+   <input type="freetext" presence="always" category="" name="denomination" key="denomination=" description="The denomination of the religion worshiped here." priority="low"/>
+  </feature>
+
+
+
+
+
+
+
+
+
   <feature name="ATM">
     <category>amenity</category>
     <icon image="icons/atm.png"/>