调试 Google 地图 KML 源
我有一个 Google 地图 KML 源,几天前停止工作。网址位于:https://maps.google.com/maps?q=https://www.ikeyless.com/businesses.kml&ie =UTF8&ll=39.774769,-98.261719&spn=46.801033,78.222656&z=4&source=embed
我无法确定阻止其加载的原因。它通过了验证...有什么想法吗?
I have a Google Maps KML feed which stopped working a few days ago. The URL is here: https://maps.google.com/maps?q=https://www.ikeyless.com/businesses.kml&ie=UTF8&ll=39.774769,-98.261719&spn=46.801033,78.222656&z=4&source=embed
I'm not able to determine the cause of what's preventing it from loading. It passes validation... any ideas?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
该文件有效。
我认为您的文件暂时出现问题。 Google 地图会在第一次点击后缓存您的文件,除非您更改文件名或添加参数。
转到您提供的网址并输入 ?dummy=yyymmddhhii (更改为当前时间;))。之后,该文件将正确显示。
最好的方法是使用 javascript 添加一个带有实际日期的虚拟参数,这样文件就会使用最新的内容进行解析。
The file works.
I think you had an temporary problem with the file. Google Maps is caching your file after the first hit, unless you change the file name or add a parameter.
Go to your provided url and enter ?dummy=yyymmddhhii (Change into the current time ;)). After that, the file will show up correctly.
The best way is to add a dummy parameter with javascript with the actual date, so the file will parsed with the newest content.