Dynamic updates of Google maps? (Using for example

2019-08-05 13:36发布

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?

标签: google-maps
1条回答
劳资没心,怎么记你
2楼-- · 2019-08-05 13:55

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?

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.

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

查看更多
登录 后发表回答