diff --git a/ln_jq_app/assets/html/map.html b/ln_jq_app/assets/html/map.html
index 1ec895d..a642ef3 100644
--- a/ln_jq_app/assets/html/map.html
+++ b/ln_jq_app/assets/html/map.html
@@ -49,17 +49,16 @@
-
-
+
@@ -81,6 +80,25 @@
viewMode: '3D'
});
+ // --- 新增:添加地图控件 ---
+ map.addControl(new AMap.Scale()); // 比例尺
+ map.addControl(new AMap.ToolBar({
+ position: {
+ bottom: '80px',
+ right: '10px'
+ }
+ })); // 缩放
+
+ map.addControl(new AMap.Geolocation({ // 定位
+ enableHighAccuracy: true,
+ timeout: 10000,
+ zoomToAccuracy: true,
+ position: {
+ bottom: '20px',
+ right: '10px'
+ }
+ }));
+
// --- 初始化轿车规划 ---
driving = new AMap.Driving({
map: map,