From 1eabd4a8c19acc075b1ca3bf25fadfae6879f026 Mon Sep 17 00:00:00 2001 From: "gao.zhiyuan" Date: Wed, 2 Aug 2023 21:50:13 +0800 Subject: [PATCH] =?UTF-8?q?fix=20=20=E8=BF=90=E8=90=A5=E5=A4=A7=E5=B1=8F-?= =?UTF-8?q?=E7=82=B9=E5=87=BB=E5=B7=A6=E4=BE=A7=E6=9F=90=E5=85=AC=E4=BA=A4?= =?UTF-8?q?=E6=9F=A5=E7=9C=8BGIS=E5=B1=95=E7=A4=BA=E4=BA=86=E5=85=B7?= =?UTF-8?q?=E4=BD=93=E8=BD=A6=E8=BE=86=E7=9A=84=E5=BC=B9=E6=A1=86=E4=BF=A1?= =?UTF-8?q?=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- web/client/src/sections/quanju/containers/public/olMap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/client/src/sections/quanju/containers/public/olMap.js b/web/client/src/sections/quanju/containers/public/olMap.js index e615b9c3..590eab4d 100644 --- a/web/client/src/sections/quanju/containers/public/olMap.js +++ b/web/client/src/sections/quanju/containers/public/olMap.js @@ -393,7 +393,7 @@ const OlMap = (props) => { layerName: 'geometry_bus_line' }); if (busLine.length) { - olMapTool.closeOverlay('clickOpen') + olMap.closeOverlay('clickOpen') olMap.setCenter([ (busLine[0].pointLng + busLine[busLine.length - 1].pointLng) / 2, (busLine[0].pointLat + busLine[busLine.length - 1].pointLat) / 2