is there any way to use/implement Add Destinations(multiple
destinations) in google map V3?
Like we do in V2 for Point1 > Point2 > Point3 > Point4 is
'from:Point1 to: Point 2 to: Point 3';
Google Map V3 does not have it in
http://code.google.com/apis/maps/documentation/v3/reference.html#DirectionsRequest
Please help!!
Waypoints are an array of objects in the form documented here:
http://code.google.com/apis/maps/documentation/v3/reference.html#DirectionsWaypoint
> Google Map V3 does not have it inhttp://code.google.com/apis/maps/documentation/v3/reference.html#Dire...
>
> Please help!!
But sorry for the misunderstanding. What I am looking for is to Add
Multiple Destinations not Waypoints. Anyways I have found it in
http://code.google.com/p/gmaps-api-issues/issues/detail?id=1421. It
looks like this feature is not available in V3.
On Dec 22, 1:09 am, NicholasCanzoneri <ac3...@gmail.com> wrote:
> Not being familiar with V2, V3 does have waypoints that you can pass
> to the DirectionsRequest object.
>
> Waypoints are an array of objects in the form documented here:http://code.google.com/apis/maps/documentation/v3/reference.html#Dire...
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
Thanks Ronny for your help.
--
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 google-map...@googlegroups.com.
To unsubscribe from this group, send email to google-maps-js-a...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-maps-js-api-v3?hl=en.
Lets say you are moving from Point A > Point B > Point C you have to
fetch DirectionsResult object for Point A > Point B using
DirectionsTravelMode.DRIVING and Point B > Point C using
DirectionsTravelMode.WALKING. And to plot polyline/path in map use
polyline decoder and retrieve latitudes and longitudes.
Is this helpful?
-Regards
TTA
http://code.google.com/apis/maps/documentation/polylineutility.html
http://facstaff.unca.edu/mcmcclur/GoogleMaps/
-Many Thanks
TTA