소스 검색

更新 地图默认坐标点

wzh 4 년 전
부모
커밋
c27e1d214b
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/views/transportationSafetyCenter.vue

+ 1 - 1
src/views/transportationSafetyCenter.vue

@@ -51,7 +51,7 @@ export default {
       bmap.value.setMapStyleV2({
         styleId: "fa3f2f79d64ac87e2683cfa762891cb5",
       });
-      bmap.value.centerAndZoom(new BMapGL.Point(116.404, 39.915), 11);
+      bmap.value.centerAndZoom(new BMapGL.Point(120.688612, 31.975529), 11);
       bmap.value.enableScrollWheelZoom(true);
     }
     watch(