|
@@ -230,10 +230,10 @@ export default {
|
|
beforeMount() { }, //生命周期 - 挂载之前
|
|
beforeMount() { }, //生命周期 - 挂载之前
|
|
methods: {
|
|
methods: {
|
|
flyDetails(item) {
|
|
flyDetails(item) {
|
|
- this.drawWktPloygon(item.geom, "#ff0000", item.id);
|
|
|
|
|
|
+ this.drawWktPloygon(item.geom, "#66b1ff", item.id);
|
|
let arr = [];
|
|
let arr = [];
|
|
Object.keys(item).forEach((key) => {
|
|
Object.keys(item).forEach((key) => {
|
|
- if (item != "geom" && item != "id") {
|
|
|
|
|
|
+ if ( key != '用地类型') {
|
|
arr.push({
|
|
arr.push({
|
|
name: key,
|
|
name: key,
|
|
value: item[key],
|
|
value: item[key],
|
|
@@ -264,8 +264,8 @@ export default {
|
|
.load(geojson, {
|
|
.load(geojson, {
|
|
clampToGround: true,
|
|
clampToGround: true,
|
|
stroke: Cesium.Color.fromCssColorString(yanse),
|
|
stroke: Cesium.Color.fromCssColorString(yanse),
|
|
- fill: Cesium.Color.WHITE.withAlpha(0.3), //注意:颜色必须大写,即不能为blue
|
|
|
|
- strokeWidth: 5,
|
|
|
|
|
|
+ fill: Cesium.Color.WHITE.withAlpha(0.93), //注意:颜色必须大写,即不能为blue
|
|
|
|
+ strokeWidth: 2,
|
|
// 恒定高度
|
|
// 恒定高度
|
|
height: 1.1,
|
|
height: 1.1,
|
|
// 是否显示
|
|
// 是否显示
|