人员移动增加楼层显示,解决中定点偏移,替换地图JS

pull/3/head
fangjiakai 2024-03-01 12:04:59 +08:00
parent 5cd0408124
commit 0821bb98bd
1 changed files with 3 additions and 3 deletions

View File

@ -1823,7 +1823,7 @@ var CustomCesium;
this.currentPolygon ? this.currentPolygon.polygon.hierarchy = e : this.currentPolygon = this.icy.viewer.entities.add({
polygon: {
hierarchy: e,
material: Cesium.Color.RED,
// material: Cesium.Color.RED,
material: new Cesium.Color.fromCssColorString("red").withAlpha(.5),
extrudedHeight: het,
height: Number(het + 0.1),
@ -2201,7 +2201,7 @@ var CustomCesium;
horizontalOrigin: Cesium.HorizontalOrigin.LEFT_CLICK,
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
disableDepthTestDistance: Number.POSITIVE_INFINITY,
disableDepthTestDistance: 10000.0,
// disableDepthTestDistance: 10000.0,
outline: true,//设置指定box是否有轮廓的Property 默认false
outlineColor: Cesium.Color.fromCssColorString('#ffffff'), //设置轮廓线
}
@ -2255,7 +2255,7 @@ var CustomCesium;
disableDepthTestDistance: Number.POSITIVE_INFINITY,
horizontalOrigin: Cesium.HorizontalOrigin.CENTER,
verticalOrigin: Cesium.VerticalOrigin.BOTTOM,
disableDepthTestDistance: 500000,//最高层级显示
// disableDepthTestDistance: 500000,//最高层级显示
scale: 1
}
})