> The first parameter must either be a GMap2 Object or null. It can'tbe
> an empty Object.
> gdir = new GDirections( null, document.getElementById("directions"));
Got it! So the only thing required is the <div> for the result:
document.getElementById("directions")?
I tried it with null and without GMap2, and it worked without errors.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---