我的github
上一页 1 ··· 209 210 211 212 213 214 215 216 217 ··· 340 下一页
摘要: this.viewer.scene.preRender.addEventListener() 该事件发生在每次渲染之前 参考:https://blog.csdn.net/qq_29384639/article/details/110122112 类似的还有viewer.clock.tick。。 vi 阅读全文
posted @ 2021-12-02 16:03 XiaoNiuFeiTian 阅读(2259) 评论(0) 推荐(0)
摘要: <template> <el-row type="flex" class="index"> <el-col> <slot v-if="viewerLoad" name="left"></slot> <div :id="id" class="atglobe-container" ref="viewer 阅读全文
posted @ 2021-12-02 14:19 XiaoNiuFeiTian 阅读(220) 评论(0) 推荐(0)
摘要: 例如要为div上的某个按钮,添加监听事件 var btn = document.getElementById("myBtn"); btn.addEventListener("click", function () { alert(this.id); }, false); >>Cesium的timel 阅读全文
posted @ 2021-12-02 11:38 XiaoNiuFeiTian 阅读(384) 评论(0) 推荐(0)
摘要: AMD规范就是其中比较著名一个,全称是Asynchronous Module Definition,即异步模块加载机制。从它的规范描述页面看,AMD很短也很简单,但它却完整描述了模块的定义,依赖关系,引用关系以及加载机制。从它被requireJS,NodeJs,Dojo,JQuery使用也可以看出它 阅读全文
posted @ 2021-12-02 09:41 XiaoNiuFeiTian 阅读(635) 评论(0) 推荐(0)
摘要: 1 define('Core/Math',[ 2 '../ThirdParty/mersenne-twister', 3 './Check', 4 './defaultValue', 5 './defined', 6 './DeveloperError' 7 ], function( 8 Merse 阅读全文
posted @ 2021-12-02 09:28 XiaoNiuFeiTian 阅读(375) 评论(0) 推荐(0)
摘要: var startTime = this.viewer.clock.currentTime; //当前时钟 var current=Cesium.JulianDate.now(new Date());//当前时间 以上哪个正确 参考:https://blog.csdn.net/dayuhaitang 阅读全文
posted @ 2021-12-01 16:10 XiaoNiuFeiTian 阅读(460) 评论(0) 推荐(0)
摘要: esium-measure 三维量测工具:https://github.com/zhangti0708/cesium-measure cesium-graphicBuffer 动态缓冲区效果 https://github.com/zhangti0708/cesium-graphicBuffer ce 阅读全文
posted @ 2021-12-01 13:36 XiaoNiuFeiTian 阅读(1010) 评论(0) 推荐(0)
摘要: JavaScript prototype(原型对象) 所有的 JavaScript 对象都会从一个 prototype(原型对象)中继承属性和方法。 在前面的章节中我们学会了如何使用对象的构造器(constructor): function Person(first, last, age, eyec 阅读全文
posted @ 2021-12-01 11:19 XiaoNiuFeiTian 阅读(115) 评论(0) 推荐(0)
摘要: Cesium在三维上的实力我们都见识过了。。但是在时间上的效果要归功于CallbackProperty 因为使用CallbackProperty,cesium中一切可视化的要素都可以与时间联系起来。 一、定义CallbackProperty函数 new Cesium.CallbackProperty 阅读全文
posted @ 2021-11-30 15:27 XiaoNiuFeiTian 阅读(1198) 评论(0) 推荐(0)
摘要: 参考:https://gitee.com/xtfge0915/cesium-draw#events CESIUM例子学习(四)CallbackProperty: Cesium绘制点、线、面、圆、矩形:https://www.jianshu.com/p/416d432cd83b cesium 画线(第 阅读全文
posted @ 2021-11-30 09:45 XiaoNiuFeiTian 阅读(1347) 评论(0) 推荐(0)
上一页 1 ··· 209 210 211 212 213 214 215 216 217 ··· 340 下一页