谷歌地图输出= kml坏了? [英] Google Maps output=kml broken?

查看:108
本文介绍了谷歌地图输出= kml坏了?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

全部

我在iPhone应用程序中使用Google地图KML输出。
如果我在浏览器中输入以下内容,它会提供一个选项来保存kml文​​件:

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

但今天突然间,它正在返回一个html文件。发生了什么?有任何想法吗?
我在我的iPhone应用程序中使用它,它会抛出错误,因为它不是有效的xml返回。很显然....

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....

感谢,
mbh

Thanks, mbh

推荐答案

我希望Google没有停止支持他们记录的KML,恕不另行通知。

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

我现在使用他们的xml输出将我的代码迁移到Google Places API中。

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

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

这篇关于谷歌地图输出= kml坏了?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆