I thought I might catch the response from
directionsService.route(request1, function (response, status) {
if (status == google.maps.DirectionsStatus.OK) {
fullRoute = response;
}
});
and concat the response from the second directionsService.route to it, and
then call
directionsDisplay.setDirections(fullRoute);
but it doesn't work either, I think, because of my knowledge of javascript
and Google Maps.
--
You received this message because you are subscribed to the Google Groups
"Google Maps JavaScript API v3" group.
To view this discussion on the web visit
https://groups.google.com/d/msg/google-maps-js-api-v3/-/Lv4-UXaedIIJ.
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.