GPX export for portable GPS units#239
Draft
msupino wants to merge 7 commits into
Draft
Conversation
- New exportGpx() function in io.js: generates GPX 1.1 <rte> with <rtept> per waypoint (lat/lng/name/optional ele from leg altitude) - Toolbar button '📍 Export GPX' in the Route section - EN + HE strings for button label and title - File name: route-<timestamp>.gpx Implements #161
- New loadGpx() in io.js: parses GPX XML with DOMParser, extracts <rtept lat/lon/name>, creates waypoints + default legs - File input accepts .gpx alongside .json - File change handler routes .gpx files to loadGpx(), .json to load()
tintFill only accepts one argument (hex). The second argument was an unused alpha override that should be removed. Notes always use the global yellowAlpha opacity.
🚀 Preview deployed
Commit: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add export to GPX 1.1 format alongside the existing JSON / KML exports. GPX is the de-facto format for handheld GPS (Garmin aera / GNS / etc.) and many EFB apps.
Implements #161