Vykreslovat trasu na zaklade dat z z db

This commit is contained in:
Michal Kváček
2024-07-25 19:51:15 +02:00
parent 88a760846c
commit e8dc51a80d
10 changed files with 58 additions and 46 deletions
+15 -8
View File
@@ -61,23 +61,30 @@ fragment flightFullInfo on Flight {
name
}
gpxTrack {
coordinates {
track {
points {
coordinates {
lat
lng
}
timestamp
magneticVariation
speed
altitude
terrainElevation
}
mapBounds {
lat
lng
}
time
magneticVariation
speed
maxSpeed
avgSpeed
altitude
terrainElevation
maxAltitude
avgAltitude
}
track {
turnPoints {
pointOfInterest {
...pointOfInterestFullInfo
}
+1 -1
View File
@@ -17,7 +17,7 @@ fragment flightListInfo on Flight {
url
}
track {
turnPoints {
pointOfInterest {
id
name
+1 -1
View File
@@ -25,7 +25,7 @@ query eventsFlightsTracks($eventId: Int, $eventUrlSlug: String, $onlyPublic: Boo
event(id: $eventId, urlSlug: $eventUrlSlug, public: $onlyPublic) {
flights(onlyPublic: $onlyPublic) {
durationMinCalculated
gpxTrack {
tracks {
coordinates {
lat
lng