On Nov 21, 4:05 am, A-OK-SITE <[EMAIL PROTECTED]> wrote:
> I don't understand why it worked????
> Will it recognize new versions of the maps.
Yes it will be updated. The current version are as follows:
Current (v=2): 2.136d
Latest (v=2.x): 2.137c
Stable (v=2.s): 2.73
I think your map stopped working on the latest version of the API,
which is "2.137c: Modularized directions." This version of the API
loads the GDirections module when it is used by your site, and there
is a small delay on loading. The GDirections object might not be
immediately available for use.
>> gdir = new GDirections(map, document.getElementById("directions"));
>> setDirections("Oklahoma City", "Dallas", "en_US");
in version 2.137c of the API, the "setDirections" call fails because
the GDirections isn't yet loaded. I'm not sure if this is supposed to
work or not. Perhaps the GDirections is only designed to work with
user input from a form, where the small delay isn't apparent?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---