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