|
@@ -144,7 +144,7 @@ export default {
|
|
|
polygon: {
|
|
|
// 获取指定属性(positions,holes(图形内需要挖空的区域))
|
|
|
hierarchy: {
|
|
|
- positions: Cesium.Cartesian3.fromDegreesArrayHeights(oneDArray),
|
|
|
+ positions: Cesium.Cartesian3.fromDegreesArrayHeights(oneDArray.slice(0, -3))
|
|
|
},
|
|
|
// 边框
|
|
|
outline: true,
|
|
@@ -155,7 +155,7 @@ export default {
|
|
|
// 填充的颜色,withAlpha透明度
|
|
|
material: Cesium.Color.GREEN.withAlpha(0),
|
|
|
// 是否被提供的材质填充
|
|
|
- fill: true,
|
|
|
+ fill: false,
|
|
|
// 恒定高度
|
|
|
height: 1.1,
|
|
|
// 显示在距相机的距离处的属性,多少区间内是可以显示的
|
|
@@ -220,7 +220,7 @@ export default {
|
|
|
polygon: {
|
|
|
// 获取指定属性(positions,holes(图形内需要挖空的区域))
|
|
|
hierarchy: {
|
|
|
- positions: Cesium.Cartesian3.fromDegreesArrayHeights(oneDArray),
|
|
|
+ positions: Cesium.Cartesian3.fromDegreesArrayHeights(oneDArray.slice(0, -3)),
|
|
|
},
|
|
|
// 边框
|
|
|
outline: true,
|
|
@@ -231,7 +231,7 @@ export default {
|
|
|
// 填充的颜色,withAlpha透明度
|
|
|
material: Cesium.Color.GREEN.withAlpha(0),
|
|
|
// 是否被提供的材质填充
|
|
|
- fill: true,
|
|
|
+ fill: false,
|
|
|
// 恒定高度
|
|
|
height: 1.1,
|
|
|
// 显示在距相机的距离处的属性,多少区间内是可以显示的
|