POIs, and relations, and stuff :)
[potlatch2.git] / net / systemeD / halcyon / POI.as
index 2a39c7129120c6389943e5b2d963799774e573ff..92f230316bd1250364962db33dee07ae0414638e 100644 (file)
@@ -33,7 +33,8 @@ package net.systemeD.halcyon {
                
                public function redraw():void {
                        var tags:Object = node.getTagsCopy();
-                       var sl:StyleList=map.ruleset.getStyles(this.node,map.scale);
+                       // ** apply :hover etc.
+                       var sl:StyleList=map.ruleset.getStyles(this.node,tags);
                        var r:Boolean=false;    // ** rendered
                        for (var sublayer:uint=0; sublayer<10; sublayer++) {