Wasn't it RodgerWilko! who wrote:
>
>Hi,
>
>Thanks Mike, I've tried that and am still getting an error that ELabel
>is not defined .. code included for reference, and linked to your
>website so it's easy for anyone to try.
I forgot that GScript is also asynchronous, but it doesn't have a
callback. I guess you could use the same technology as your initLoader()
function to load elabels.js with callback.
As a proof of concept, this works:
setTimeout('map.addOverlay(new ELabel(new GLatLng(-33.866799,
151.209109), "test"))',2000);
--
http://econym.org.uk/gmap
The Blackpool Community Church Javascript Team
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---