铯KML轮询数据(Cesium KML polling data) 您所在的位置:网站首页 cesium点击获取坐标 铯KML轮询数据(Cesium KML polling data)

铯KML轮询数据(Cesium KML polling data)

2023-03-29 17:08| 来源: 网络整理| 查看: 265

我有一个应用程序,每秒生成和/或更新KML数据。 目前我正在使用这个数据映射到cesium

var viewer = new Cesium.Viewer('cesiumContainer'); viewer.dataSources.add(Cesium.KmlDataSource.load('link to data stream'));

除了初始拉动后数据永远不会更新之外,这种方法很有用。 每隔一两秒更新铯中kml数据的最佳方法是什么,以便新数据反映在我的地图上?

谢谢!

I have an application where KML data is either being generated and or updated every second. Currently I am mapping this data onto cesium using

var viewer = new Cesium.Viewer('cesiumContainer'); viewer.dataSources.add(Cesium.KmlDataSource.load('link to data stream'));

This works great other than the data never gets updated after the initial pull. What would be the best way to update the kml data in cesium every second or two so the new data will be reflected on my map?

Thanks!



【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有