Question

When getting directions via the google maps javascript API v3, is it possible to get a list of all roads encountered on the journey?

The directions instructions obviously have the road names and these could be parsed/scraped out but I was wondering if there was a way of getting a definitive list.

Thanks, Mike

Was it helpful?

Solution

Even getting them from the directions response is not a 100% sure thing. Google does have some doozies for road names.

And no, afaik there is no way of just getting a list of road names without parsing the response.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top