Solution 1: use 1.17, and wait for Google to identify the problem and make
improvement in hopefully 1.19.

Solution 2: create a custom overlay.

On Thu, Feb 18, 2010 at 11:35 AM, Gustavo <[email protected]>wrote:

> I have the same problem, you can find a solution ??
>
> this is a part of my code
>
> //before i hava a code to load and customize the map options, thats
> code works fine if i quit this part, and only make an
> map.addOverlay(markerX);
>
> var subteload = 0;
> function onClick($event:MouseEvent):void{
>        if (subteload==0){
>                subteload = 1;
>                trace("cargo");
>                map.addOverlay(markerD);
>                map.addOverlay(markerE);
>                map.addOverlay(markerF);
>                map.addOverlay(markerG);
>                map.addOverlay(markerH);
>                map.addOverlay(markerI);
>                map.addOverlay(markerJ);
>                map.addOverlay(markerK);
>        }
>        else if(subteload==1){
>                trace("descargo");
>                subteload = 0;
>                map.removeOverlay(markerD);
>                map.removeOverlay(markerE);
>                map.removeOverlay(markerF);
>                map.removeOverlay(markerG);
>                map.removeOverlay(markerH);
>                map.removeOverlay(markerI);
>                map.removeOverlay(markerJ);
>                map.removeOverlay(markerK);
>        }
> }
> btn_subtes.addEventListener(MouseEvent.CLICK, onClick);
> }
>
> --
>  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]<google-maps-api-for-flash%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-maps-api-for-flash?hl=en.
>
>


-- 
=============
Juguang XIAO
Beijing, China

-- 
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