1. You can only use .getPolyline() if you've asked the API to obtain the polyline data.
2. Using the same control variable for two nested loops probably won't work in Javascript. It's not a block structured language. 3. I don't think that you want to nest those loops anyway. 4. Each call of the inner loop overwrites the contents of the directionsData <p> rather than adding to it, so at the end there'd only be one pair of coordinates displayed. -- Mike Williams http://econym.org.uk/gmap --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
