0

The google directions API stopped sending KML response from few days. Did anyone face the same issue?? Please help.

I am requesting direction between San Jose and Seattle. Response: "no-maps-mini"

Thanks, Rohit

Rohit
  • 1

2 Answers2

1

I think the answer your looking for is here: Why retrieving Google Directions for Android using KML data is not working anymore? .

In a few words : "This way of extracting the Google Directions from Google by parsing the KML file is no longer available since 27 July 2012 ".

Google recommends using json: https://developers.google.com/maps/documentation/directions/.

Community
  • 1
  • 1
Bianca Daniciuc
  • 920
  • 1
  • 13
  • 22
0

KML from &output=kml is undocumented on Google's side. You should not rely on it. Instead, you can use the Google Directions Webservice and get JSON or XML that you can parse or transform into KML.

Sebastian Łuczak
  • 1,116
  • 8
  • 19