-
-
Couldn't load subscription status.
- Fork 1k
Update latlon #4349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update latlon #4349
Conversation
✅ Deploy Preview for origin-betaflight-app ready!
To edit notification comments on pull requests, go to your Netlify site configuration. |
|
@Pancronos, please review. |
|
| "gpsLatitude": { | ||
| "message": "Latitude:", | ||
| "description": "Show GPS position - Latitude" | ||
| }, | ||
| "gpsLongitude": { | ||
| "message": "Longitude:", | ||
| "description": "Show GPS position - Longitude" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The Current is not needed anymore? I think remember it was "included" some time ago to differentiate with the Home Latitude / Longitude.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It seems it was a not merged PR... #3486





This pull request includes changes to the GPS data handling and display, specifically separating the latitude and longitude into distinct fields. The changes are made across multiple files to ensure consistency in the codebase.
Changes to GPS data handling and display:
locales/en/messages.json: Separated the GPS latitude and longitude messages into individual fields.src/js/fc.js: Updated theGPS_DATAobject to uselatitudeandlongitudeinstead oflatandlon.src/js/msp/MSPHelper.js: Modified theprocess_datafunction to readlatitudeandlongitudeinstead oflatandlon.src/js/tabs/gps.js: Updated theinitializefunction to handlelatitudeandlongitudeseparately, including changes to the UI updates and map centering logic. [1] [2] [3]src/js/tabs/setup.js: Adjusted theinitializefunction to update the display and URL generation forlatitudeandlongitudeseparately.src/tabs/gps.html: Split the GPS position display into separate rows for latitude and longitude.src/tabs/setup.html: Similarly, split the GPS position display into separate rows for latitude and longitude.