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

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

问题描述

全部

我在我的 iPhone 应用程序中使用了谷歌地图 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

推荐答案

我希望 Google 没有在没有通知的情况下停止支持他们记录的 KML.

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

我现在使用他们的 xml 输出将我的代码迁移到谷歌地点 API.

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

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

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

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