-
Notifications
You must be signed in to change notification settings - Fork 211
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
Gpx wpt mappoints #452
Merged
Merged
Gpx wpt mappoints #452
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
ac4a854
Add getMapPoints() and MapPoints for GPX waypoints
zigmhount 7008bc9
Plot markers for wpoints from MapPoints
zigmhount 55c0e98
Merge branch 'bpatrik:master' into gpx_wpt_mappoints
zigmhount 07a1d99
Added gpx file with one single WPT
zigmhount 52d3497
Added example GPX file with 3 wpt
zigmhount 7928a07
Refactored getMapPoints and getMapPath into getMapCoordinates
zigmhount ffa5ed6
Replaced getMapPoints() and getMapPath() with getMapCoordinates()
zigmhount 5e56561
Refactor loadGPXfiles()
zigmhount f1a5c6c
Refactor getMapCoordinates
zigmhount 92f346b
Cleaned up
zigmhount File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?> | ||
<gpx version="1.1" creator="OsmAnd~ 4.1.11" xmlns="http://www.topografix.com/GPX/1/1" xmlns:osmand="https://osmand.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> | ||
<metadata> | ||
<name>favourites</name> | ||
</metadata> | ||
<wpt lat="46.1234" lon="10.1234"> | ||
<time>2022-02-12T19:31:58Z</time> | ||
<name>Location name</name> | ||
<extensions> | ||
<osmand:icon>special_star</osmand:icon> | ||
<osmand:background>circle</osmand:background> | ||
<osmand:color>#eecc22</osmand:color> | ||
</extensions> | ||
</wpt> | ||
</gpx> |
35 changes: 35 additions & 0 deletions
35
...me. with special caracters(_.-.,-.,) 1234 56789 űáéú őóüö/subdirectory/gpx_3locations.gpx
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
<?xml version='1.0' encoding='UTF-8' standalone='yes' ?> | ||
<gpx version="1.1" creator="OsmAnd~ 4.1.11" xmlns="http://www.topografix.com/GPX/1/1" xmlns:osmand="https://osmand.net" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.topografix.com/GPX/1/1 http://www.topografix.com/GPX/1/1/gpx.xsd"> | ||
<metadata> | ||
<name>favourites</name> | ||
</metadata> | ||
<wpt lat="39.1234" lon="-0.54332"> | ||
<time>2022-02-04T00:12:22Z</time> | ||
<name>Location 1</name> | ||
<extensions> | ||
<osmand:icon>special_star</osmand:icon> | ||
<osmand:background>circle</osmand:background> | ||
<osmand:color>#eecc22</osmand:color> | ||
</extensions> | ||
</wpt> | ||
<wpt lat="39.54321" lon="-0.1234"> | ||
<time>2022-02-04T00:12:22Z</time> | ||
<name>Location 2</name> | ||
<extensions> | ||
<osmand:address>Street 1, Town</osmand:address> | ||
<osmand:icon>special_star</osmand:icon> | ||
<osmand:background>circle</osmand:background> | ||
<osmand:color>#eecc22</osmand:color> | ||
</extensions> | ||
</wpt> | ||
<wpt lat="12.54321" lon="10.1234"> | ||
<time>2022-02-04T00:12:22Z</time> | ||
<name>Location 3</name> | ||
<extensions> | ||
<osmand:address>Street 2, Town</osmand:address> | ||
<osmand:icon>special_star</osmand:icon> | ||
<osmand:background>circle</osmand:background> | ||
<osmand:color>#eecc22</osmand:color> | ||
</extensions> | ||
</wpt> | ||
</gpx> |
This file contains 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
This file contains 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
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.
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.
Can you clean up this part a bit? removing unnecessary comments, etc. Otherwise this PR looks good.