select and move POI nodes, and a handful of smaller fixes too
[potlatch2.git] / net / systemeD / halcyon / NodeUI.as
index 8f57b8e28e39225c296d67219a7084573cc0ea10..365691467730d55330446ecd03fc8a17d4a09000 100644 (file)
@@ -33,16 +33,10 @@ package net.systemeD.halcyon {
                    updatePosition();
                }
                
-               public function redraw(sl:StyleList=null,forceDraw:Boolean=false):Boolean {
-                       // *** forcedraw can be removed
+               override public function redraw(sl:StyleList=null):Boolean {
                        var tags:Object = node.getTagsCopy();
-
-                       // special tags
+                       tags=applyStateClasses(tags);
                        if (!node.hasParentWays) { tags[':poi']='yes'; }
-            for (var stateKey:String in stateClasses) {
-                tags[":"+stateKey] = 'yes';
-            }
-
                        if (!sl) { sl=map.ruleset.getStyles(this.node,tags); }
 
                        var inWay:Boolean=node.hasParentWays;