Cesium牛杂

Cesium扫描圆柱

  let position = Cesium.Cartesian3.fromDegrees(108, 32, 0);
                let cylinderGlow = new xt3d.AdvancedPlugin.CylinderGlow(this.viewer, position, {
                    radius: 1300, //半径
                    cylinderHeight: 10000, //高度
                    fillColor: Cesium.Color.YELLOW, //填充色
                    bottomCircleHeight: 10, //底部圆高度
                    bottomInnerCircleColor: Cesium.Color.YELLOW, //内圆颜色
                    bottomOuterCircleColor: Cesium.Color.YELLOW, //外圆颜色
                    TexureUrl: "/data.xt3d.cn/assets/images/cylinderglow" //材质路径
                });

默认视角(adimation效果)

 setView() {
                let flyToOpts = {
                    destination: {
                        x: -2478920.801925492,
                        y: 4825730.518405389,
                        z: 3347542.8711580094
                    },
                    orientation: {
                        heading: 2.537181922085081,
                        pitch: -0.47972457133242763,
                        roll: 0.0021918829067129053
                    },
                    duration: 0
                };
                this.viewer.scene.camera.flyTo(flyToOpts);
            },

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值