cesium常见问题

1、3Dtile 遮挡label,解决方案如下:

disableDepthTestDistance: Number.POSITIVE_INFINITY, //

2、3Dtile 遮挡polyline,还没有解决
3、vue和封装的js通信传参问题:
(1)采用window.localStorage

//js页面
 window.localStorage.setItem('getLineInfo', JSON.stringify(lineLength))
//vue页面 window.addEventListener监听数据变化
   mounted() {
        let that = this
        window.addEventListener('setItemEvent', function (e) {
            let newdata = JSON.parse(e.newValue)
            that.lineInfo = newdata
        })

    },

(2)采用

你可能感兴趣的:(cesium,vue项目,前端,vue,cesium,GIS)