Explorar el Código

修改中心位置是天安门

wangfumin hace 4 semanas
padre
commit
30ec029bdd
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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
         }