|
@@ -254,7 +254,7 @@ export default {
|
|
|
ps.push(gom[1]);
|
|
|
});
|
|
|
// let id = uuidv4();
|
|
|
- this.addPolygon(ps, minH, maxH);
|
|
|
+ this.addPolygon(ps, jcgd, that.form.BuildingHeight);
|
|
|
|
|
|
let pss = [];
|
|
|
// for (let index = 0; index < element.geometry.points.length; index++) {
|
|
@@ -301,9 +301,10 @@ export default {
|
|
|
attributes: {
|
|
|
color: Cesium.ColorGeometryInstanceAttribute.fromColor(
|
|
|
// Cesium.Color.CHARTREUSE.withAlpha(0.1)
|
|
|
- new Cesium.Color(0.8, 0.8, 0.8, 1.0).withAlpha(1)
|
|
|
+ new Cesium.Color(0.9, 0.9, 0.9, 1.0).withAlpha(1)
|
|
|
),
|
|
|
},
|
|
|
+ zIndex: 100
|
|
|
});
|
|
|
|
|
|
// 添加到场景中
|
|
@@ -330,6 +331,7 @@ export default {
|
|
|
new Cesium.Color(0.4, 0.4, 0.4, 1.0).withAlpha(1)
|
|
|
),
|
|
|
},
|
|
|
+ zIndex: 99
|
|
|
});
|
|
|
let boundaryPolylinePrimitive = new Cesium.Primitive({
|
|
|
geometryInstances: [boundaryPolyline],
|