I have just recently started using the Google Maps API on a project that will give directions to a location, but uses specific roads along the way. The problem I'm having is that I can't figure out how to add "via" destinations to a GDirections object in which the point does not show up as a destination on the map (ie. point B), but merely directs Google's mapping algorithm through that point.
To illustrate what I'm looking for, I've included two sample links to maps.google.com below. The first link does not use the "via" feature and the second one does. http://maps.google.com/maps?f=d&saddr=fremont,+ca&daddr=37.554376,-122.016907+to:palo+alto,+ca&via=1 http://maps.google.com/maps?f=d&saddr=fremont,+ca&daddr=37.554376,-122.016907+to:palo+alto,+ca Is this functionality not available in the API, or have I just not looked in the right place? Thanks! Joel --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
