소스 검색

优化地图

wulanhaote
hbao 3 년 전
부모
커밋
fad40e2356
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. +2
    -2
      src/components/Map/MapGisDrawing.vue

+ 2
- 2
src/components/Map/MapGisDrawing.vue 파일 보기

@@ -193,7 +193,7 @@ export default {
//开始绘制地图
$("#"+this.drawingPolygonMap).click(function () {
map.removeLayer(hc_land);
//map.removeLayer(hc_landFuther);
map.removeLayer(hc_landFuther);
map.removeLayer(vector_drawing);
//that.closeMoule = null;
map.removeInteraction(draw);
@@ -234,7 +234,7 @@ export default {
$("#"+this.drawingResetMap).click(function () {
if(that.closeMoule !=null) {
map.removeLayer(vector_drawing);
//map.removeLayer(hc_landFuther);
map.addLayer(hc_landFuther);
map.removeInteraction(draw);
map.addLayer(hc_land);
//map.addLayer(hc_landFuther);


불러오는 중...
취소
저장