1) Run the small MapMoveBug.mxml quoted below. 2) From the initial view, pan around then click the 'return to last result' button in the middle of the pan controls and watch the map pan back to the initial position. 3) Note that the console window does not show that a MOVE_END event occurred.
If you uncomment the MOVE_STEP handler, you'll see that you are getting a last MOVE_STEP event corresponding to the final position, but no Move_END event to notify you that the move is done. If you zoom in or out, then you will get a MOVE_END event when you 'return to last result', regardless of whether you also panned or not. This was compiled against API 1.7a with Adobe flex sdk 3.1.0 (build 2710) on a machine running Linux 2.6.23.17-88.fc7 SMP x86_64 GNU/Linux and run with the standalone flashplayer ver 9,0,124,0. - Ray Malanga ---------------------------------------------- <?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" xmlns:maps="com.google.maps.*" layout="absolute" width="100%" height="100%"> <mx:Panel title="Google Maps Flash API 1.7a MapMove Bug" width="100%" height="100%"> <maps:Map id="map" key="{Your Key Here}" mapevent_mapready="onMapReady(event)" width="100%" height="100%"/> </mx:Panel> <mx:Script> <![CDATA[ import com.google.maps.controls.PositionControl; import com.google.maps.MapMoveEvent; private function onMapReady(event:Event):void { map.addControl(new PositionControl()); map.addEventListener(MapMoveEvent.MOVE_END, function(e:MapMoveEvent):void { trace("MoveEnd: " +e); }); // map.addEventListener(MapMoveEvent.MOVE_STEP, function(e:MapMoveEvent):void { // trace("MoveStep: " +e); // }); } ]]> </mx:Script> </mx:Application> --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/Google-Maps-API?hl=en -~----------~----~----~----~------~----~------~--~---