From 8d7f9672e81f2c7e93e4a960359c8395eda9fb22 Mon Sep 17 00:00:00 2001 From: riku <risaku@163.com> Date: 星期二, 14 五月 2024 17:37:27 +0800 Subject: [PATCH] 1.修复点击折线图后高亮定位点错误问题; 2.新增“分析”按钮点击加载动画 --- src/utils/map/util.js | 9 +++++++++ 1 files changed, 9 insertions(+), 0 deletions(-) diff --git a/src/utils/map/util.js b/src/utils/map/util.js index 3da926d..27871e9 100644 --- a/src/utils/map/util.js +++ b/src/utils/map/util.js @@ -13,5 +13,14 @@ map.setCenter(lnglat); this.lasttime = now; } + }, + addViews(view) { + map.add(view); + }, + removeViews(view) { + map.remove(view); + }, + setFitView() { + map.setFitView(); } }; -- Gitblit v1.9.3