Googlemaps version 3 works a bit different with directions that
version 2. In version 3 you need to specify a "origin" and a
"destination" destination in the request to DirectionsService. In
addition to this, like Nicholas explained, there is the extra
"waypoints" functionality.

The directions.php example on 
http://code.google.com/p/gmaps-api-issues/issues/detail?id=1421
is a bit outdated and does not work anymore.
I modified the example to the current (dec-2009) v3 calls and can be
found on http://www.grasoft.be/mtb/maps/directions.htm. Is this what
you want see?
The origin is '500 Memorial Drive, Cambridge, MA'.
The destionation is '4 Yawkey Way, Boston, MA 02215 (Fenway Park)'.
There are 2 additional points 'Hampshire St, Cambridge, MA' and
'Monsignor Obrien Hwy, Cambridge, MA'.

kind regards,
Ronny Aerts - Belgium

--

You received this message because you are subscribed to the Google Groups 
"Google Maps JavaScript API v3" 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-js-api-v3?hl=en.


Reply via email to