소스 검색

修改中心位置是天安门

wangfumin 1 개월 전
부모
커밋
30ec029bdd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/view/case/drawMap/creatMap.vue

+ 1 - 1
src/view/case/drawMap/creatMap.vue

@@ -151,7 +151,7 @@ const initMap = async () => {
     map = new AMap.Map('container', {
         zoom: 11,
         key: AMAP_KEY, // 替换为你的API密钥
-        center: [116.35, 39.86],
+        center: [116.397513, 39.908739],
         WebGLParams: {
             preserveDrawingBuffer: true
         }