0
点赞
收藏
分享

微信扫一扫

Cesium线被遮挡部分变虚线

书坊尚 2021-09-21 阅读 48
随笔开源

几年前发现Cesium的一个小惊喜,突然想起来,记录一下

viewer.entities.add({

polyline: {

positions: clampedCartesians,

    arcType: Cesium.ArcType.NONE,

    width:2,

    material:new Cesium.PolylineOutlineMaterialProperty({

color: Cesium.Color.YELLOW,

    }),

    depthFailMaterial:new Cesium.PolylineDashMaterialProperty({

color: Cesium.Color.BLUE

    })

},

});

举报

相关推荐

0 条评论