diff --git a/src/components/flightPlans/FlightPlanVerticalProfile.vue b/src/components/flightPlans/FlightPlanVerticalProfile.vue
new file mode 100644
index 0000000..3f82bda
--- /dev/null
+++ b/src/components/flightPlans/FlightPlanVerticalProfile.vue
@@ -0,0 +1,45 @@
+
+
+
+
+
diff --git a/src/graphql/fragments/flightPlan.js b/src/graphql/fragments/flightPlan.js
index ec55e3e..623884a 100644
--- a/src/graphql/fragments/flightPlan.js
+++ b/src/graphql/fragments/flightPlan.js
@@ -42,6 +42,15 @@ fragment flightPlanFullInfo on FlightPlan {
...flightPlanMarker
}
}
+
+ track {
+ points {
+ gpsLatitude
+ gpsLongitude
+ timestamp
+ terrainElevation
+ }
+ }
}
${FRAGMENT_FLIGHT_PLAN_MARKER}
diff --git a/src/pages/profile/flightPlanner/FlightPlanEditPage.vue b/src/pages/profile/flightPlanner/FlightPlanEditPage.vue
index 1f4abe4..ce6c89b 100644
--- a/src/pages/profile/flightPlanner/FlightPlanEditPage.vue
+++ b/src/pages/profile/flightPlanner/FlightPlanEditPage.vue
@@ -28,6 +28,7 @@ import {useFlightsStore} from "stores/Flights";
import {useRouter} from "vue-router";
import FlightFromPlanForm from "components/flightPlans/FlightFromPlanForm.vue";
import BasicInfoBanner from "components/banners/BasicInfoBanner.vue";
+import FlightPlanVerticalProfile from "components/flightPlans/FlightPlanVerticalProfile.vue";
const {flightPlan} = storeToRefs(useFlightPlansStore());
const flightPlanName = computed(() => flightPlan.value.name || "Nepojmenovaný plán");
@@ -161,6 +162,12 @@ const createNewFlightFromPlan = (formData) => {
Navigační štítek
+
+
+
+ Výškový profil
+
+
Let
@@ -214,6 +221,10 @@ const createNewFlightFromPlan = (formData) => {
/>
+
+
+
+
V plánu nemáš žádné letiště vzletu nebo přistání. Pro import letu musíš nahrát trasu.