> if you check outhttp://www.chilternstravel.co.uk/journeyplanner.aspx

You set up a local
   var map = new GMap2(...
in your onload function, then set up another local
   var map = new GMap2(...
in your getDirections() function in the same <div>

Don't do that, use a single global map object ;
       var map ; // to make a global object outside of functions
and
      if (GBrowserIsCompatible()) {
           map = new GMap2(...
to create your map onload
and
       function getDirections() {
               // no need to create another map instance at all, use
existing
          var drn = new GDirections(map);

You've got whitespace in front of your doctype, which renders it
ineffective in some browsers.

Can't reproduce the error, so no idea if these are connected.  jquery
uses document.body so you may be looking in the wrong place?

cheers, Ross K

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