I'm developing an app for a client with a bunch of xml markers in the
google maps api. I have several gif maps that finally take me to a
world region with this markers.
Whenever I try to go back to my gif maps and unload the google api in
order to reload my gif maps, sometimes I don't get the expected
result, that is to have the google map erased.
CerrarBtnM.addEventListener(MouseEvent.CLICK, GoogleMapsClose);
function GoogleMapsClose(e:MouseEvent){
outTween = new Tween(Object(parent).GoogleMaps,"alpha",None.easeIn,
1,0,.25,true);
outTween.addEventListener(TweenEvent.MOTION_FINISH, cerrar);
}
function cerrar(e:Event):void {
Object(root).MapaMundo.GoogleMaps.map.clearOverlays();
Object(root).MapaMundo.GoogleMaps.map.unload();
Object(root).MapaMundo.GoogleMaps.gotoAndStop(1);
}
Any ideas??
--
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.