Does anyone have an example of a map that will plot driving directions from Point A to Point D with stops at Point B and Point C? I also need the map to show the appropriate directions between each stop in the correct order.
I've read through much of the documentation and scoured the web looking for examples of this, but cannot find what I am looking for. I am storing the addresses in an array like such : [code] var addresses = ["Address 1", "Address2", "Address3"]; var numGeocoded = 0; function geocodeAll() { if (numGeocoded < addresses.length) { geocoder.getLocations(addresses[numGeocoded], addressResolved); }else{ directions = new GDirections(map, document.getElementById("google-directions")); directions.loadFromWaypoints(waypoints); } } [/code] I found the above code and I can get it to work, however.. directions.loadFromWaypoints does not provide the destination addresses when displayed in the directions. It displays the street name from the GeoCoded location. Thanks in advance for any help. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Maps API" group. To post to this group, send email to Google-Maps-API@googlegroups.com 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 -~----------~----~----~----~------~----~------~--~---