动态更新Google地图? (例如,使用KML) [英] Dynamic updates of Google maps? (Using for example KML)

查看:119
本文介绍了动态更新Google地图? (例如,使用KML)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个包含大量数据的KML文件.我想在Google地图(或类似的东西)中显示数据.当KML文件更新时,我希望Google地图更新.这可能吗?

I have a KML-file with lots of data in it. I would like to show the data in a google map (or something similair) When the KML-file updates, I would like the google map to update. Is this possible?

推荐答案

您的意思是KML文件更新? 您是从数据库中生成KML,以便进行更新意味着将更多的点插入到数据库中吗?

What to you mean KML-file updates? Are you generating the KML from your database so updates means that more points are inserted to your db?

无论如何,您可以构造浏览器以定期询问服务器此KML是否已更新,检索并最终从地图上删除过期文件并显示新文件.

Anyway if that's the case you can construct the browser to periodically ask the server if this KML is updated,retrieve it and finally remove the expired file from the map and show the new.

据我所知,您无法自动"同步" KML叠加层.

Because as far as i know there is no way you can "sync" the KML overlay automatically.

这篇关于动态更新Google地图? (例如,使用KML)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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