add support for provider attribution and logo, as required by Bing. Add an entry...
[potlatch2.git] / net / systemeD / halcyon / Map.as
index 103caba3f74171e1e29fcb85e5447d94caa9b327..e168ec342dcf669c11a849195601e1f2ca4c2151 100644 (file)
@@ -172,7 +172,7 @@ package net.systemeD.halcyon {
                private function setCentre():void {
                        centre_lat=coord2lat(-y+mapheight/2);
                        centre_lon=coord2lon(-x+mapwidth/2);
-                       this.dispatchEvent(new MapEvent(MapEvent.MOVE, {lat:centre_lat, lon:centre_lon, scale:scale}));
+                       this.dispatchEvent(new MapEvent(MapEvent.MOVE, {lat:centre_lat, lon:centre_lon, scale:scale, minlon:edge_l, maxlon:edge_r, minlat:edge_b, maxlat:edge_t}));
                }
                
                public function nudgeBackground(x:Number,y:Number):void {