allow <feature>s to be grouped
authorRichard Fairhurst <richard@systemed.net>
Sun, 9 Jan 2011 17:09:50 +0000 (17:09 +0000)
committerRichard Fairhurst <richard@systemed.net>
Sun, 9 Jan 2011 17:09:50 +0000 (17:09 +0000)
net/systemeD/potlatch2/mapfeatures/MapFeatures.as

index 14d55c1..9acb9bc 100644 (file)
@@ -57,7 +57,7 @@ package net.systemeD.potlatch2.mapfeatures {
             _features = [];
             _tags = { relation:{}, way:{}, node:{} };
 
-            for each(var feature:XML in xml.feature) {
+            for each(var feature:XML in xml..feature) {
                 f=new Feature(this,feature);
                 _features.push(f);
                 for each (var tag:Object in f.tags) {