![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
SuperMap
空心爱code
这个作者很懒,什么都没留下…
展开
-
Cesium
Cesium使用-飞行漫游一、监听isPause变量判断是否需要暂停代码如下(示例): watch: { //获取viewer对象 viewerId (id) { if (id) { viewer = getViewer(id) } }, // 监听isPause变量实现是否需要暂停 isPause (newVal) { if (newVal) { fly.pause() thi原创 2021-11-25 16:05:36 · 1002 阅读 · 0 评论 -
Cesium使用
Cesium使用-获取当前位置的经纬度代码片段本文是在使用Cesium进行三维场景的业务处理中归纳总结的一些方法代码片段// An highlighted blockexport function showViewerPos() { if (!_lastViewer) { console.log("没有检测到 Cesium Viewer"); return; } const camera = _lastViewer.camera; const pos = came原创 2021-11-25 15:46:21 · 297 阅读 · 0 评论