Thank you Andrew, "map.addOverlay() triggers an addoverlay event" I have looked through the documention several times and never saw that, now its as clear as mustard! All my Icons have a common shadow, these shadows (instances) appear simultaneously, thus I guess the issue is some form of http lag. Thnaks again.
Regards Colin Davies On Oct 22, 10:51 pm, Andrew Leach <[email protected]> wrote: > On Oct 22, 2:17 am, colinjd <[email protected]> wrote: > > > How can the browser been informed that the actual Icon has appered on > > the Map. > > I hoped there was a listener in the GMarker or GOverlay for this. But > > no. > > The simple purpose for this is to terminate my "Loading.." status > > message. > > Any hints? > > map.addOverlay() triggers an addoverlay event on the map (not the > marker). That may help. > > It's possible that the addoverlay event will occur when the overlay is > added but before the image is completely downloaded in order that the > icon can actually be displayed. Try it and see. If that is the case > you could download the image separately and test for its arrival in a > separate handler function: > <img src="..." onload=handler style="display:none"> > > Using the image once its downloaded and adding to the map (from the > cache) will be almost instantaneous. You may need a combination of > listeners. > > Andrew --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
