From ccc970e575ef3f3e5c67af8da210263f4ac549f9 Mon Sep 17 00:00:00 2001
From: feiyu02 <risaku@163.com>
Date: 星期五, 10 四月 2026 16:44:55 +0800
Subject: [PATCH] 2026.4.10
---
src/utils/map/index.js | 22 ++++++++++++++++------
1 files changed, 16 insertions(+), 6 deletions(-)
diff --git a/src/utils/map/index.js b/src/utils/map/index.js
index 80a18f1..8e39c2c 100644
--- a/src/utils/map/index.js
+++ b/src/utils/map/index.js
@@ -67,20 +67,20 @@
map = new AMap.Map(elementId, {
// mapStyle: 'amap://styles/e1e78509de64ddcd2efb4cb34c6fae2a',
features: ['bg', 'road'],
- pitch: 30, // 鍦板浘淇话瑙掑害锛屾湁鏁堣寖鍥� 0 搴�- 83 搴�
+ pitch: 0, // 鍦板浘淇话瑙掑害锛屾湁鏁堣寖鍥� 0 搴�- 83 搴�
viewMode: '3D', // 鍦板浘妯″紡
resizeEnable: true,
center: [121.6039283, 31.25295567],
zooms: [2, 26],
- zoom: 14,
+ zoom: 11,
})
// map = new AMap.Map(elementId);
// 娣诲姞鍗槦鍦板浘
satellite = new AMap.TileLayer.Satellite()
- const roadNet = new AMap.TileLayer.RoadNet()
- // satellite.hide()
- map.add([satellite, roadNet])
+ // const roadNet = new AMap.TileLayer.RoadNet()
+ satellite.hide()
+ map.add([satellite])
// _initMouseTool();
// _init3DLayer();
@@ -112,4 +112,14 @@
})
}
-export { createMap, destroyMap, onMapMounted, map, AMap, mouseTool, object3Dlayer, isDragging }
+export {
+ createMap,
+ destroyMap,
+ onMapMounted,
+ map,
+ AMap,
+ satellite,
+ mouseTool,
+ object3Dlayer,
+ isDragging,
+}
--
Gitblit v1.9.3