From b87b2befa85bd085f40dc5aa7ea9bfbc17d807e5 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期五, 10 一月 2025 17:15:02 +0800 Subject: [PATCH] 1. 调整了网格内文本的展示方式和样式; 2. 省去了单个网格4个顶点坐标的计算逻辑,交由后端完成; --- src/utils/map/index_old.js | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/utils/map/index_old.js b/src/utils/map/index_old.js index eb73075..8085547 100644 --- a/src/utils/map/index_old.js +++ b/src/utils/map/index_old.js @@ -72,8 +72,9 @@ function _initControlbar() { controlbar = new AMap.ControlBar({ position: { - right: '300px', - top: '260px' + right: '10px', + // top: '260px', + bottom: '0px' } }); map.addControl(controlbar); -- Gitblit v1.9.3