Bläddra i källkod

优化地图

wulanhaote
hbao 3 år sedan
förälder
incheckning
776dbaf47f
2 ändrade filer med 5 tillägg och 3 borttagningar
  1. +1
    -1
      src/components/Map/MapGisDrawing.vue
  2. +4
    -2
      src/views/homesteadSurvey/add.vue

+ 1
- 1
src/components/Map/MapGisDrawing.vue Visa fil

@@ -606,7 +606,7 @@ export default {
})
.then((data) => {
console.log(data);
let resolution = map.getView().getResolutionForExtent(data.bbox,map.getSize());
let resolution = that.map.getView().getResolutionForExtent(data.bbox,map.getSize());
resolution:resolution + Math.random() * 0.00000001,
that.map.getView().fit(data.bbox);
that.map.getView().setResolution(resolution);


+ 4
- 2
src/views/homesteadSurvey/add.vue Visa fil

@@ -5481,7 +5481,9 @@
}
})
}

if(this.form3.theGeom == null){
this.form3.theGeom = this.form.theGeom;
}
}
this.showzrz = true;
this.zrzProduct();
@@ -5783,7 +5785,7 @@
this.form4.sfsgcf = "N"
}
if(this.form4.theGeom==null||this.form4.theGeom==""){
this.form4.theGeom = this.form4.theGeom
this.form4.theGeom = this.form.theGeom
}
this.fssslxOptions.map(res => {
if(res.dictValue == item.fssslx){


Laddar…
Avbryt
Spara