Fix #4114 - "black" being ignored as a color in some contexts.
[potlatch2.git] / net / systemeD / halcyon / styleparser / PointStyle.as
index e426bdbb7e64e35d511fc4461b660a4379538f17..aac8c65c2a08fe6114aff4ed408a3e0af3a4d7e6 100644 (file)
@@ -3,7 +3,7 @@ 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;
 
@@ -12,6 +12,10 @@ package net.systemeD.halcyon.styleparser {
                                'icon_image','icon_width','icon_height','rotation'
                        ];
                }
+               
+               override public function get drawn():Boolean {
+                       return (icon_image!=null);
+               }
        }
 
 }