liuhj 5 달 전
부모
커밋
9b16024969
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  1. 4 0
      src/components/statistics/Statistically.vue

+ 4 - 0
src/components/statistics/Statistically.vue

@@ -627,6 +627,10 @@ export default {
                 }
             });
             var map = new mapkit.Map('map', { center: new mapkit.Coordinate(104.096488, 30.635261) });
+            // var center = new mapkit.Coordinate(0, 0); // 经度为0,纬度为0的坐标,即赤道和本初子午线的交点
+            var zoom = 2; // 适当的缩放级别以显示整个世界
+            // map.setCenterCoordinate(center);
+            map.setZoomLevel(zoom);
         },
         //团组酒店
         grouphotel(){