Ah ha - so I've added map.js back on to the page :) The original site
called a function from map.js called init() before calling loadMap.
Not sure where to put my call to init, but I guess that's the key? -
Thanks again for your help! -Roger.

On Nov 23, 5:09 pm, Rossko <[EMAIL PROTECTED]> wrote:
> Okay, now we have a map, one step at a time :)
>
> You just can't do this
>     map.addOverlay('http://test.lfns.co.uk/2008/11/21/route.xml')
> addOverlay expects properly constructed javascript objects
> representing map objects ; not a URL
>
> If you look at your original page, it uses your external javascript
> file called map.js
> map.js includes the function loadmap() which does the work of
> translating an XML file into map overlays.
> That isn't supplied by Google, it's something you - well your
> predecessor maybe - wrote.
--~--~---------~--~----~------------~-------~--~----~
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