shuhao 4 mesi fa
parent
commit
393e6a8d34
2 ha cambiato i file con 2 aggiunte e 2 eliminazioni
  1. 1 1
      src/views/authentic/Pdf.vue
  2. 1 1
      src/views/authentic/pdfMap.js

+ 1 - 1
src/views/authentic/Pdf.vue

@@ -46,7 +46,7 @@
             </table>
             <div class="a4_sub_title">地块四至图</div>
             <img :key="imgUrl" v-show="imgUrl" class="img-content img" style="z-index: 999" width="595" height="500" :src="imgUrl" />
-            <div :key="imgUrl" v-show="!imgUrl" style="width: 70%;height: 400px" class="img-content" ref="mapRef" id="mapRefId"></div>
+            <div :key="imgUrl" v-show="!imgUrl" style="width: 595px;height: 500px" class="img-content" ref="mapRef" id="mapRefId"></div>
             <div class="signature">签名:______________</div>
           </div>
         </div>

+ 1 - 1
src/views/authentic/pdfMap.js

@@ -91,7 +91,7 @@ class PdfMap {
         22
     );
     this.lock(false)
-    this.kmap.setLayerWkt(data.geom, data, true, [50, 50, 50, 50] )
+    this.kmap.setLayerWkt(data.geom, data, true, [120, 120, 120, 120] )
     this.kmap.addLayer(this.clickPointLayer.layer);
     this.kmap.addLayer(this.locationLayer.layer);
     this.addPoint(data)