First cut at styling TIGER data via an option. Needs lots of propagation of uid and...
[potlatch2.git] / net / systemeD / halcyon / MapEvent.as
index 87262d3e640f7fb4a129b0e1ee0b8b521f542b15..b0f090fbe22b4172e6ff8b0b197cc47238e0b70c 100644 (file)
@@ -5,14 +5,16 @@ package net.systemeD.halcyon {
     public class MapEvent extends Event {
 
                public static const DOWNLOAD:String = "download";
-               public var minlon:Number, maxlon:Number, maxlat:Number, minlat:Number;
+               public static const RESIZE:String = "resize";
+               public static const MOVE:String = "move";
+               public static const NUDGE_BACKGROUND:String = "nudge_background";
+               public static const ERROR:String = "error";
 
-        public function MapEvent(eventname:String, minlon:Number, maxlon:Number, maxlat:Number, minlat:Number) {
+               public var params:Object;
+
+        public function MapEvent(eventname:String, params:Object) {
             super(eventname);
-            this.minlat = minlat;
-            this.minlon = minlon;
-            this.maxlat = maxlat;
-            this.maxlon = maxlon;
+            this.params=params;
         }
     }