without seeing your code you need to remove the loader of the old image and
replace it with the new
usually something like
if (imageLoader)
{
removeChild(imageLoader);
}
On Wed, Jun 1, 2011 at 4:32 AM, Frederick Giasson <[email protected]> wrote:
> Hi everybody,
>
> I am experiencing some issues with my custom map types when come the
> time to switch between map types using the MapTypeControl.
>
> I have a custom map type where some of the tiles that come from the
> tiling server are transparent.
>
> This means that if I select another map type using the MapTypeControl,
> and then if I switch back to this custom map type that has these
> transparent tiles, then I see what was previously displayed with the
> normal map type.
>
> What I want, is to see the background color of the Map control (which
> I defined using the backgroundFillStyle option).
>
> So, what I want is to be able to "clear the map" (so, to hide/remove
> the tiles previously selected map types). I can't find any API calls
> to do that. I want to call such an API function on a MAPTYPE_CHANGED
> event.
>
> I also noticed that such a "clear" was performed by the API after I
> zoomed twice in any zooming direction.
>
>
> I think I am clearly missing something in the API.
>
>
> Thanks for your help!
>
>
> Take care,
>
> Fred
>
> --
> 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.
>
>
--
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.