2

I am trying to get the "travel distance" from one place to another via google maps. The google APIs aren't exactly useful for vbnet.

So I went for another method... i.e. using webbrowser.

http://maps.google.com/maps?daddr=XXX&saddr=YYY this would get the map in the browser and all i thought i could do is to extract the DocumentText to retrieve the information i need but i faced the same problem as how to get a full html source?

Appreciate any help if there's a way to get the "full source". Or if there are any ways of getting "travel distances" directly.

Community
  • 1
  • 1
Paul Bang-Jensen
  • 165
  • 2
  • 4
  • 12

1 Answers1

2

The process you are talking about is not an officially supported way to get travel distance via google maps. What I would suggest is to use the Google Distance Matrix API Web Service which can provide what you are looking for.

Erik Philips
  • 53,428
  • 11
  • 128
  • 150