liuhj 6 ヶ月 前
コミット
121fcd9a12
共有1 個のファイルを変更した3 個の追加4 個の削除を含む
  1. 3 4
      src/components/statistics/Statistically.vue

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

@@ -635,10 +635,9 @@ export default {
             // })
             let map = new mapkit.Map("map", {
                 center: new mapkit.Coordinate(104.096488, 30.635261),
-                region: new mapkit.CoordinateRegion(
-                    new mapkit.Coordinate(104.096488, 30.635261),
-                    new mapkit.CoordinateSpan(0.01, 0.01)
-                )
+                showsMapTypeControl: true,
+                showsZoomControl: true,
+                zoomEnabled: true,
             });
             // let overlay = new mapkit.MapOverlay(map.region, {
             //     urlTemplate: "https://example.com/overlay/{x}/{y}/{z}.png"