From fa05dfcce55b8589d7f76175700a92fe196dcd9b Mon Sep 17 00:00:00 2001 From: lixuliang <lixuliang_hd@126.com> Date: 星期三, 13 三月 2024 17:59:52 +0800 Subject: [PATCH] 图层切换叠压 --- src/components/poplayer/history2.vue | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/poplayer/history2.vue b/src/components/poplayer/history2.vue index 866745f..31b66f0 100644 --- a/src/components/poplayer/history2.vue +++ b/src/components/poplayer/history2.vue @@ -39,8 +39,8 @@ mounted() { store.setNavigatorShow(false); store.setMapToolShow(false); - // window.mapapi.getView().setCenter(ol.proj.fromLonLat([4.606512, 2.621472])); - window.mapapi.getView().setCenter(ol.proj.fromLonLat([116.505348, 39.795592])); + window.mapapi.getView().setCenter(ol.proj.fromLonLat([4.606512, 2.621472])); + // window.mapapi.getView().setCenter(ol.proj.fromLonLat([116.505348, 39.795592])); addHistoryLayer(this.currentValue); if (_GLOBAL.GPSMarker) { window.mapapi.removeLayer(_GLOBAL.GPSMarker); -- Gitblit v1.9.3