diff --git a/core/frontend/src/components/vehiclesetup/configuration/compass/AutoCoordinateDetector.vue b/core/frontend/src/components/vehiclesetup/configuration/compass/AutoCoordinateDetector.vue new file mode 100644 index 0000000000..3cefc94e52 --- /dev/null +++ b/core/frontend/src/components/vehiclesetup/configuration/compass/AutoCoordinateDetector.vue @@ -0,0 +1,149 @@ + + + + + + {{ mavlink_lat ? "mdi-check-circle" : "mdi-alert-circle" }} + + + {{ mavlink_lat ? "Valid GPS position" : "No valid GPS position" }} + + Vehicle coordinates: {{ mavlink_lat?.toFixed(5) ?? "N/A" }} {{ mavlink_lon?.toFixed(5) ?? "N/A" }} + + + + {{ geoip_lat ? "mdi-check-circle" : "mdi-alert-circle" }} + + + + + mdi-help-circle + + + GeoIP coordinates are estimated based on your IP address. + + GeoIP coordinates: {{ geoip_lat ?? "N/A" }} {{ geoip_lon ?? "N/A" }} + + + + + No valid GPS position! + + + + Use GeoIP coordinates + + + Enter custom coordinate + + + + + + + Use these coordinates + + + + + + + + + +