首页 / 浏览问题 / 三维GIS / 问题详情
超图FAQ:【WebGL】如何在前端添加或移除飞行站点?
64,468EXP 2023年04月11日
【WebGL】如何在前端添加或移除飞行站点?

1个回答

【示例代码】 var newstoptemp = new Cesium.RouteStop({             duration: 10,             index: 1,             heading: scene.camera.heading,             tilt: scene.camera.pitch,                 point: new Cesium.Cartesian3.fromDegrees(116, 30, 1000),             stopName: "站点" + 111,             speed: 30         }); //添加站点         routes.get(0).addStop(newstoptemp); //删除站点         routes.get(0).removeStop(newstoptemp);
64,468EXP 2023年04月11日
热门文章
关注我们
...