XbsjEarthUI icon indicating copy to clipboard operation
XbsjEarthUI copied to clipboard

XbsjEarthUI是基于Cesium和EarthSDK的三维GIS/BIM的UI模板,可以基于此定制自己的三维App

Results 101 XbsjEarthUI issues
Sort by recently updated
recently updated
newest added

调整位置 ![image](https://user-images.githubusercontent.com/13550568/69690066-932e1180-1105-11ea-9614-36876f3a6429.png) 调整方向(旋转姿态) ![image](https://user-images.githubusercontent.com/13550568/69690146-d0929f00-1105-11ea-836d-1e80f58a5162.png) 调整缩放量 ![image](https://user-images.githubusercontent.com/13550568/69690272-31ba7280-1106-11ea-9572-505d43aea3d7.png) 获取使用cesium加载的3dtiles的代码 ![image](https://user-images.githubusercontent.com/13550568/69689985-595d0b00-1105-11ea-9e9c-8d5d9ca8ad98.png)

documentation

有个小的问题,earthSDK测量功能,完成面积测量时,会多一个“面积:0.00平方米”的标签 ![image](https://user-images.githubusercontent.com/13550568/69694539-15bdcd80-1114-11ea-9b10-e3e5fe512d97.png) 点击“清空测量结果”也清不掉这个多的标签,倒是点击“距离测量”的时候能清掉这个多的标签 嗯嗯,小bug,无意中发现的,是个会挪动的标签,要俯视视角看

bug

请问下, ![image](https://user-images.githubusercontent.com/13550568/69540717-50afec00-0fc2-11ea-8fb7-e14c8403ffcb.png) 这里的color.xeColor是怎么来的啊?我试着打印并typeof color了,它就是个hex code string,这个.xeColor是从哪里来的啊? --- xeColor 是把一个字符串,转成 [1, 1, 1, 1]这种形式的颜色供EarthSDK使用,扩展了String的属性。。

documentation
question

@vtxf 老哥 自定义图元 的高和宽超过一定大小后就会变的很卡 怎么破.. @辛未年宅 是width、height还是canvasWidth和canvasHeight? @vtxf 是canvasWidth和canvasHeight 我这里设置6144 还正常的 设置成 7144 就很卡了 --- 这两个参数决定纹理创建的大小, 如果设置比较大,会消耗很多资源, 另外建议设置成2的幂次,即 比如128、256、512等

documentation
question

@vtxf 如果我的es6 module里有用Cesium的地方怎么处理比较好呢?module里cesium的解析是在XE.ready()之前的,那时候Cesium还是undefined。 ![image](https://user-images.githubusercontent.com/13550568/69526263-c60cc400-0fa4-11ea-8ee1-b5cf5374d151.png) 如图所示,assets.js里用了Cesium,EarthComp.vue import了它。 main.js是在XE.ready()的resolve里打印的,这会Cesium才准备好。 我现在是把module都加了个init函数包起来,把cesium作为arg传进去的,但是感觉还是麻烦。请问有没有什么更好的解决方法?多谢 --- @skywalkershe 可以试试提前引入Cesium.js ![image](https://user-images.githubusercontent.com/13550568/69526301-d91f9400-0fa4-11ea-94ba-829a6022dce9.png) --- skywalkershe 16:58:51 这样的话岂不是得加载两遍cesium skywalkershe 16:59:13 earth里会加载一遍Cesium啊 vtxf 16:59:30 不会的,earth检测已加载Cesium,就不会再次加载

documentation
question

凡人多烦事 10:25:34 ![image](https://user-images.githubusercontent.com/13550568/69507834-f8033380-0f6e-11ea-880c-f4128f8e6ec5.png) 这个绿框怎么去啊?? 王佳莹 10:27:56 ![image](https://user-images.githubusercontent.com/13550568/69507841-fe91ab00-0f6e-11ea-95b4-1b7d55a8f5f7.png)

documentation
question

![image](https://user-images.githubusercontent.com/13550568/69401945-678bdf80-0d31-11ea-81e4-20d71babfcf3.png) --- cesiumlab是electron架构和网页确实有一些效果不一样,可以cesiumlab的页面在网页端打开,调试好了再导出 ![image](https://user-images.githubusercontent.com/13550568/69401939-60fd6800-0d31-11ea-83b9-bf4edbbfda45.png)

documentation
question

1. 打开cesiumlab,没有先安装 ![image](https://user-images.githubusercontent.com/13550568/69596431-8514be00-103d-11ea-97cd-d78a5588835b.png) 2. 浏览器中打开视景器: http://earthsdk.com/v/last/Apps/Demos/Viewer/index.html ![image](https://user-images.githubusercontent.com/13550568/69596482-aecde500-103d-11ea-8163-016fc8918044.png) 3. 添加3dtiles数据 ![image](https://user-images.githubusercontent.com/13550568/69596535-da50cf80-103d-11ea-9e4b-a2e88460f77d.png) 4. 设置style ![image](https://user-images.githubusercontent.com/13550568/69596597-12f0a900-103e-11ea-84b3-2e386e520d52.png) 5. 查看style ![image](https://user-images.githubusercontent.com/13550568/69596653-43d0de00-103e-11ea-9528-421c4978ae56.png) 6. 写代码设置style ![image](https://user-images.githubusercontent.com/13550568/69596715-809cd500-103e-11ea-935b-c175d4aadc5e.png)

documentation

再问个问题,我看拾取的例子里,都是给模型或者3dtile加eventlistener,这样加得多了会不会拖慢性能?有没有什么只用一个eventlistener来进行拾取的方法? 比如原生cesium的 handler.setInputAction(function(movement) { var pickedObject = earth.czm.viewer.scene.pick(movement.endPosition); if (Cesium.defined(pickedObject) && Cesium.defined(pickedObject.id)) { console.log(pickedObject) } 有没有类似这种的接口,但可以取到czmObject? --- @skywalkershe 直接用scene.pick就可以拾取到3dtiles的,我们内部有一个属性来标识czmObject的对象; 不过不建议这样做,earthsdk的部分元素有类似网页元素onclick属性。使用才更方便。

大家好,我想问一下这个场景保存是保存在本地的那个位置,我没有设置过保存地址点击保存不知道场景在哪里 ![image](https://user-images.githubusercontent.com/13550568/69395241-4cad7100-0d19-11ea-8241-104a6a3951d2.png) --- 保存到cesiumlab中,假如cesiumlab打开了的话,如果没打开,就不保存不了 保存后的场景在这里: ![image](https://user-images.githubusercontent.com/13550568/69395329-8da58580-0d19-11ea-85c0-fe0899cb14a9.png)

documentation
question