map.panTo(new LatLng(_lat,_lon));
map.addEventListener(MapMoveEvent.MOVE_END, movEnd);
panning = true;

public static function movEnd(event:MapMoveEvent)
{                       map.removeEventListener(MapMoveEvent.MOVE_END, movEnd);
panning = false;
}

then wrap the code within the function with:

if(!panning){
//function code here...
}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API For Flash" group.
To post to this group, send email to [email protected]
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-for-flash?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to