move attribution to bottom right, and support a 'Terms of use' URL (add <terms_url...
[potlatch2.git] / net / systemeD / halcyon / MapEvent.as
index 87262d3..75a09b9 100644 (file)
@@ -5,14 +5,19 @@ 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 SCALE:String = "scale";
+               public static const NUDGE_BACKGROUND:String = "nudge_background";
+               public static const ERROR:String = "error";
+        public static const INITIALISED:String = "initialized";
+               public static const BUMP:String = "bump";
 
-        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;
         }
     }