diff --git a/src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue b/src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue
index 5535dc576..194a4d761 100644
--- a/src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue
+++ b/src/views/modules/visual/communityGovern/fivelayers/mapIndex.vue
@@ -1613,6 +1613,8 @@ const vueGis = {
this.zoom = 13
} else if (agencyLevel === 'community') {
this.zoom = 14
+ }else{
+ this.zoom = 11
}
},
@@ -1827,7 +1829,7 @@ export default vueGis;
.ol-overlaycontainer-stopevent {
display: none;
}
-
+
\ No newline at end of file
+
diff --git a/src/views/modules/workSys/mapConfig.vue b/src/views/modules/workSys/mapConfig.vue
index df1624e7f..3a7c36179 100644
--- a/src/views/modules/workSys/mapConfig.vue
+++ b/src/views/modules/workSys/mapConfig.vue
@@ -622,6 +622,8 @@ const vueGis = {
this.zoom = 13
} else if (agencyLevel === 'community') {
this.zoom = 14
+ }else{
+ this.zoom = 11
}
},
@@ -792,13 +794,23 @@ const vueGis = {
//中国经纬度范围
// 经度范围:73°33′E至135°05′E 东经
// 纬度范围:3°51′N至53°33′N 北纬
+ let aaa = this.polygonManullyString.replace(/\[/g, ',')
+ aaa = aaa.replace(/\]/g, ',')
- const arrayString = this.polygonManullyString
- let array = arrayString.split(/[, ()]/)
+
+ let array = aaa.split(/[, ()]/)
+ // const arrayString = this.polygonManullyString
+ // let array = arrayString.split(",|(|)|[|]")
console.log(array)
let polygonStringResult = ''
+ // const arrayString = this.polygonManullyString
+ // let array = arrayString.split(/[, ()]/)
+ // console.log(array)
+ // let polygonStringResult = ''
+
+
array.forEach(element => {
let num = Number(element)
if (num) {
@@ -1139,9 +1151,9 @@ export default vueGis;
.div_textarea {
text-align: center;
}
-
+
+