gpxviewer | Javascript GPX file viewer using Google Maps | Map library
kandi X-RAY | gpxviewer Summary
kandi X-RAY | gpxviewer Summary
Javascript GPX file viewer using Google Maps, updated for API v3
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of gpxviewer
gpxviewer Key Features
gpxviewer Examples and Code Snippets
Community Discussions
Trending Discussions on gpxviewer
QUESTION
My Android
app is a tool to help mappers draw Orienteering´s map. Instead of using a GPS
device and a booklet he/she uses a cell phone to record those IOF elements and save then on .gpx
format that can be read by a CAD software that draw the map.
It has no graphic interface on it. My idea is to use one app already available that plot tracks from a gpx
file. I made some test with two that very good: GPXViewer and Locus Map.
When I trigger the intents below both reacts same way saying there is a issue with the file I am asking to show, the "TestGPX.gpx" that is saved on Documents directory of the cell phone. On both cases, the app I call opens but complain, being Locus a bit more specific: "Invalid value: content://com.hbcavalcanti.com.isomspinner1.fileprovider/Documments/TestGPX.gpx".
Since they are open, if I manually choose the file both plot it without any issue. I suspect is not by chance both complains, i.e. I should be doing something not right:
...ANSWER
Answered 2018-Apr-16 at 12:29https://github.com/k3b/LocationMapViewer/ is also capable to read gpx files in gpx1.0 and gpx1.1 format.
Since it is open source you can debug what happens. you have to add "content: gpx" uris to manifest for your usecase to make it work for non-file uri-s.
de.k3b.android.LocationMapViewer#loadGeoPointDtosFromFile()
arlready uses contentResolver.openInputStream()
.
Other usefull tools that might help:
- https://github.com/k3b/intent-intercept/ to analyse/manually send intent-s: open you app send gpx to intentintercept, edit the intent (i.e. change content:-uri to file: uri or change mime type and re-send modified intent.
- https://github.com/MajeurAndroid/Android-Applications-Info to look into the manifest-sourcecode of GPXViewer and Locus-Map to see what kind of uri they can process.
All discussed android apps are available for free on f-droid app store
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install gpxviewer
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page