소스 검색

代码调整

Hwf 3 달 전
부모
커밋
04de5f7144
3개의 변경된 파일2개의 추가작업 그리고 3개의 파일을 삭제
  1. 1 1
      src/components/Map/YztMap/index.vue
  2. 1 1
      src/hooks/AMap/useAMap.ts
  3. 0 1
      src/views/globalMap/RightMenu/DrawTools.vue

+ 1 - 1
src/components/Map/YztMap/index.vue

@@ -73,7 +73,7 @@ watch(
 );
 const mapList = reactive({
   satellite2: ['YZT1715739306532', 'YZT1695608158269'],
-  satellite3: ['tianditu'],
+  satellite3: ['YZT1708679726700', 'YZT1695608158269'],
   imageMap: ['YZT1640925052482', 'YZT1695608158269'],
   imageMap2: ['YZT1640925052482', 'YZT1695608158269']
 });

+ 1 - 1
src/hooks/AMap/useAMap.ts

@@ -323,7 +323,7 @@ export function useAMap(options) {
       });
     } else {
       // data = convertCoordinates(data);
-      // 遮罩部分d
+      // 遮罩部分
       // const outer = [
       //   new AMap.LngLat(-180, 90, true),
       //   new AMap.LngLat(-180, -90, true),

+ 0 - 1
src/views/globalMap/RightMenu/DrawTools.vue

@@ -61,7 +61,6 @@ import { nanoid } from 'nanoid';
 import { deepClone } from '@/utils';
 import * as turf from '@turf/turf';
 import Overlay from 'ol/Overlay';
-import YMap from '@/components/Map/YMap.vue';
 
 interface ListItem {
   label: string;