소스 검색

地图重置优化

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

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

@@ -238,15 +238,13 @@ export default {
// });
//还原之前图层
$("#"+this.drawingResetMap).click(function () {
console.log(that.closeMoule);
console.log(that.message);
if(that.closeMoule !=null) {
if(that.message.substring(0,1) =="{"){
map.addLayer(hc_land);
map.removeInteraction(draw);
map.addLayer(hc_landFuther);
}
if(that.message.substring(0,1) =="["){
map.addLayer(hc_landFuther);
map.addLayer(hc_land);
map.removeInteraction(draw);
map.removeLayer(vector_drawing);
}
that.formSubmit();


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