Wasn't it Jack T. who wrote:
>gdir = new GDirections({},document.getElementById("directions"));
The first parameter must either be a GMap2 Object or null. It can't be
an empty Object.
gdir = new GDirections( null, document.getElementById("directions"));
[Technically you could use anything else that is considered false when
if()ed, because that's what the API does with the first parameter. So 0
or false or "" or GLatLng(0,0) would all work. The empty Object(), {},
isn't considered to be false when you if() it.]
--
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
-~----------~----~----~----~------~----~------~--~---