On Dec 12, 4:31 pm, helen <[email protected]> wrote:
> Thanks Bratliff. I do get the same problem in ie6 as well.
> Is there anything I can do about it?

File an issue in the issue tracker if one does not already exist:

    http://code.google.com/p/gmaps-api-issues/issues/list

Otherwise, add your "star" to an existing issue.

I just realized, IE6 will be using "AlphaImageLoader" to load your
GTileLayerOverlay if your images are PNGs.  What I said about "onload"
event handlers may not apply to "AlphaImageLoader".

In the mean time, you might try an ugly hack.  I believe
GTileLayerOverlays are added to:

    map.getPane(0)

For firefox & others:

    var tiles=map.getPane(0).getElementsByTagName("IMG");

For Internet Explorer:

    var tiles=map.getPane(0).getElementsByTagName("DIV");

Because "AlphaImageLoader" loads into "DIV" element rather than "IMG"
element.

    for (var loop=0;tiles[loop];loop++)
    {
        tiles[loop].style.display="";
    }

Use "setTimeout" to give it a reasonable delay.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Maps API" 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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to