Search code examples
iphonegoogle-mapskml

Google Maps output=kml broken?


All

I was using the google maps KML output in my iPhone app. If I type the following on my browser, it used to give an option to save the kml file:

http://maps.google.com/maps?q=restaurant&mrt=yp&num=10&sll=37.786945,-122.406013&radius=5&output=kml

But all of a sudden today, it is returning an html file. What happened? any ideas? I use it in my iPhone app and it is throwing error as it is not a valid xml returned. Obviously....

Thanks, mbh


Solution

  • I wish Google had not stopped supporting their documented KML without notice.

    I migrated my code to google places API now using their xml output.

    https://developers.google.com/places/documentation/