Fix #4114 - "black" being ignored as a color in some contexts.
[potlatch2.git] / net / systemeD / halcyon / styleparser / PointStyle.as
index e79916b8e58671bf9b18d530bc5a71934c71be5c..aac8c65c2a08fe6114aff4ed408a3e0af3a4d7e6 100644 (file)
@@ -3,14 +3,19 @@ package net.systemeD.halcyon.styleparser {
        public class PointStyle extends Style {
 
                public var icon_image:String;
-               public var icon_width:uint;
+               public var icon_width:uint=0;
                public var icon_height:uint;
+               public var rotation:Number;
 
                override public function get properties():Array {
                        return [
-                               'icon_image','icon_width','icon_height'
+                               'icon_image','icon_width','icon_height','rotation'
                        ];
                }
+               
+               override public function get drawn():Boolean {
+                       return (icon_image!=null);
+               }
        }
 
 }