diff --git a/src/components/flightPlans/FlightPlanMap.vue b/src/components/flightPlans/FlightPlanMap.vue index bc31855..bf002bd 100644 --- a/src/components/flightPlans/FlightPlanMap.vue +++ b/src/components/flightPlans/FlightPlanMap.vue @@ -37,8 +37,14 @@ const {getMarkersFrom} = useFlightPlanUtils(); const infoWindow = ref(infoWindowObject({})); -const handleMapClick = ({clickCoordinates, airspaces, airport}) => { - infoWindow.value = infoWindowObject({active: true, airspaces, position: clickCoordinates, airport}) +const handleMapClick = ({clickCoordinates, airspaces, airport, reportingPoint}) => { + infoWindow.value = infoWindowObject({ + active: true, + position: clickCoordinates, + airspaces, + airport, + reportingPoint, + }) } const handleMarkerClick = (marker) => { @@ -81,7 +87,6 @@ const handleMarkerMove = async (idx, event) => {