Use the description of the bug to display the label
authorAndy Allan <gravitystorm@gmail.com>
Tue, 16 Nov 2010 15:00:59 +0000 (15:00 +0000)
committerAndy Allan <gravitystorm@gmail.com>
Tue, 16 Nov 2010 15:00:59 +0000 (15:00 +0000)
net/systemeD/potlatch2/utils/BugLoader.as

index ec771dd..43de9e9 100644 (file)
@@ -40,7 +40,7 @@ package net.systemeD.potlatch2.utils {
               var lon:Number = feature.geometry.coordinates[0];
               var lat:Number = feature.geometry.coordinates[1];
               trace(lat, lon);
-              var node:Node = layer.createNode({"name":"No right turn"}, lat, lon);
+              var node:Node = layer.createNode({"name":feature.properties.description,"bug_id":feature.id}, lat, lon);
               layer.registerPOI(node);
             }
             layer.paint.updateEntityUIs(layer.getObjectsByBbox(map.edge_l,map.edge_r,map.edge_t,map.edge_b), false, false);