diff --git a/src/components/Map/MapBox.vue b/src/components/Map/MapBox.vue index 2d6cf23..52989b9 100644 --- a/src/components/Map/MapBox.vue +++ b/src/components/Map/MapBox.vue @@ -578,7 +578,7 @@ json: turf.featureCollection([clickPoint]), key: "clickPoint", }); - data.roadName = positionAddress; + data.stName = positionAddress; bus.emit("popupcontent", { popupShow: true, point: turf.getCoords(clickPoint), diff --git a/src/components/Map/MapBox.vue b/src/components/Map/MapBox.vue index 2d6cf23..52989b9 100644 --- a/src/components/Map/MapBox.vue +++ b/src/components/Map/MapBox.vue @@ -578,7 +578,7 @@ json: turf.featureCollection([clickPoint]), key: "clickPoint", }); - data.roadName = positionAddress; + data.stName = positionAddress; bus.emit("popupcontent", { popupShow: true, point: turf.getCoords(clickPoint), diff --git a/src/components/Map/popup.vue b/src/components/Map/popup.vue index ec67e7d..665eb24 100644 --- a/src/components/Map/popup.vue +++ b/src/components/Map/popup.vue @@ -3,7 +3,7 @@
- {{ AllData.dataList.roadName }} + {{ AllData.dataList.stName }}