On Dec 12, 3:27 pm, helen <[email protected]> wrote:
> Hi,
> I have some custom tiles created using MapCruncher and added to a map
> as a GTileLayerOverlay.  It seems to work at first but as you drag the
> map around and change zoom, some of the overlays do not appear.  I can
> examine the map layers using FireBug and see that my tile images are
> loaded but they have "display:none" set in the style for some reason.
> If I manually remove the "display:none" the tile overlay displays as
> it should.  Has anyone else encountered a problem like this?  I can't
> determine why the display would be turned off for some of the tile
> overlay images when the ifile is actually loaded and would be visible
> on the map.
>
> http://dev.pentura.ca/HMoverlay
>
> If you zoom out and in a few times you should start to notice missing
> images.
> (note: server is slow, you may have to wait)
>
> Any suggestions would be greatly appreciated. Thanks!

I believe Google is trying to suppress the progressive image display
during loading and/or the "broken link" icon.  Ordinarily, the
"onload" event handler will reset it to style.display="".  It works
fine in Internet Explorer but Firefox does not always attempt to load
an image with style.display="none".  The display optimizer is too
smart.  I was able to fix something similar by toggling between
style.visibility="hidden" & style.visibility="".

To Google:

Try using "style.visibility" instead of "style.display" to suppress
incomplete display.



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