-
-
-
+
+
+
+
diff --git a/src/components/flightPlans/FlightFromPlanForm.vue b/src/components/flightPlans/FlightFromPlanForm.vue
new file mode 100644
index 0000000..98421f0
--- /dev/null
+++ b/src/components/flightPlans/FlightFromPlanForm.vue
@@ -0,0 +1,53 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/components/flightPlans/FlightPlanMap.vue b/src/components/flightPlans/FlightPlanMap.vue
index 6d78f2a..badefb5 100644
--- a/src/components/flightPlans/FlightPlanMap.vue
+++ b/src/components/flightPlans/FlightPlanMap.vue
@@ -32,7 +32,7 @@ const emits = defineEmits(["markers-changed", "change-insert-position"]);
const {center} = useGeocode();
-const {markerObject, googleMapsMarkerObject, editableNameTypes} = useFlightPlanObjects();
+const {markerObject, googleMapsMarkerObject, googleMapsCustomMarkerObject, editableNameTypes} = useFlightPlanObjects();
const {getMarkersFrom} = useFlightPlanUtils();
const {getDuration} = useFlightPlanCalculations();
@@ -54,8 +54,8 @@ const trackAids = computed(() => props.flightPlan.track.map(p => ({
bearing: p.bearing,
distance: p.distance,
position: {
- lat: (p.from.gpsLatitude + p.to.gpsLatitude) / 2,
- lng: (p.from.gpsLongitude + p.to.gpsLongitude) / 2
+ lat: (p.from.gpsLatitude + p.to?.gpsLatitude) / 2,
+ lng: (p.from.gpsLongitude + p.to?.gpsLongitude) / 2
}
}
)));
@@ -92,6 +92,7 @@ const handleMarkerMove = async (idx, event) => {
+
{
+
+
+
+
+
+
+
+
+
+
+
-