From 7c4546cc6f84adf52a4aaa61244635615041c178 Mon Sep 17 00:00:00 2001 From: lixuliang <lixuliang_hd@126.com> Date: 星期三, 06 三月 2024 18:10:51 +0800 Subject: [PATCH] Merge branch 'master' of http://103.135.160.14:9034/r/PM20221203225_MobileWeb --- src/components/poplayer/history2.vue | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/src/components/poplayer/history2.vue b/src/components/poplayer/history2.vue index 584f496..fd2a20a 100644 --- a/src/components/poplayer/history2.vue +++ b/src/components/poplayer/history2.vue @@ -38,6 +38,9 @@ store.setMapToolShow(false); window.mapapi.getView().setCenter([4.606512, 2.621472]); addHistoryLayer(this.currentValue); + if (_GLOBAL.GPSMarker) { + window.mapapi.removeLayer(_GLOBAL.GPSMarker); + } }, methods: { changeLeftMap(item) { -- Gitblit v1.9.3