filter category selector by element type
[potlatch2.git] / net / systemeD / potlatch2 / mapfeatures / Feature.as
index 714d9c34f6333e0ca18e04972a252a7d20bcb658..39b46d00170f8467e3fa5b5d8d61e09067b2139a 100644 (file)
@@ -137,6 +137,11 @@ package net.systemeD.potlatch2.mapfeatures {
             }
             return null;
         }
+        
+        public function isType(type:String):Boolean {
+            return _xml.elements(type).length() > 0;
+        }
+        
     }
 }