tmuguet / map2gpx Goto Github PK
View Code? Open in Web Editor NEWmap2gpx lets you trace paths on maps (for hiking for instance) and export them to GPX or KML formats.
Home Page: https://map2gpx.fr/
License: MIT License
map2gpx lets you trace paths on maps (for hiking for instance) and export them to GPX or KML formats.
Home Page: https://map2gpx.fr/
License: MIT License
localStorage should be used to store opacity and visibility settings of layers
When you export a track, you have the option "Include the stepover markers". I would like to add an option to create as a simple track because many devices (Garmin, Suunto ...) do not support multitracks and only show the first track (first <trk>
... </trk>
) of a multitrack. I tried to modify it but I haven't found a way to do it, could you help me? Thank you very much
When loading a track via the url parameter (e.g. via https://map2gpx.fr/?url=https://thomasmuguet.info/2016-08-27-refuge-adele-planchard/track.gpx
), the map focuses on the marker and not on the whole track.
Steps to reproduce:
Expected result: track should be re-imported
Actual result: nothing is happening
Hello,
Il y a actuellement un problème pour le calcul des distances, que ça soit sur https://map2gpx.fr ou .eu.
(message " 0% - Une erreur est survenue " dans la fenêtre du bas).
Pourriez vous corriger ?
Merci pour map2gpx qui est très pratique pour préparer ses randos.
When importing a track, an option should be available to make the track editable within map2gpx.
Personnaly the waypoints in the track are more disturbing me when I use the gpx in other app or software.
Thanks
Should cover: add marker, move marker and delete marker
An option should be available to automatically add waypoints every 100m along the track. This would let the user edit the imported track without requiring heavy map-matching (#12).
Hi,
I did not look in detail your code, I have in all case not enough knowledge in this to understand everything.
I really appreciate your work and your tool. I am also French so I totally understand the need of this with the IGN. Actually I am leaving in Germany and I would also like to use it, however the maps are not really satisfying my need, you would understand.
So I come to my question, is it possible to implement other maps ? and how ? (OpenTopo, for example, or Kompass eventually - but may not be allowed).
Thanks
When trying to add a marker over an existing track, clicking triggers the popup and does not add the marker.
Example:
URL de la requête :https://map2gpx.fr/fetch.php?url=https://thomasmuguet.info/todo/Lacs Robert.gpx
Méthode de la requête :GET
Code d’état : 400 Bad Request
Validation of the URL is maybe too restrictive?
Reproduced with Chrome (61.0.3163.100) & IE11.
Leaves "Calculs en cours..." indefinitely.
Stack trace:
Uncaught TypeError: Cannot read property 'lat' of undefined
at Object.project (leaflet.js:5)
at Object.latLngToPoint (leaflet.js:5)
at e.project (leaflet.js:5)
at e.latLngToLayerPoint (leaflet.js:5)
at e.latLngToContainerPoint (leaflet.js:5)
at e._snakeForward (L.Polyline.SnakeAnim.js:81)
at e._snake (L.Polyline.SnakeAnim.js:73)
at e.snakeIn (L.Polyline.SnakeAnim.js:57)
at e._snakeNext (L.Polyline.SnakeAnim.js:194)
at e.snakeIn (L.Polyline.SnakeAnim.js:172)
Potential fix: ignore marker if placed at the same location as the previous one
It seems that mapquest is not working anymore, any alternative?
When creating a track, user could use stopovers (e.g. for hikes of several days).
Computation should show stats on each part of the track, and on the whole track.
Export to / import from GPX could use multiple trk
.
Export to KML could use multiple Placemark
.
Steps to reproduce:
Expected result: marker is removed and route is cancelled
Actual result: marker is removed but route is kept. State of the whole track is then inconsistent and requires reset or refresh of the page
Can't load this track: 2094421.gpx.zip.
Fails with a Leaflet error:
Uncaught (in promise) TypeError: t is null
project leaflet.js:5
latLngToPoint leaflet.js:5
project leaflet.js:5
latLngToLayerPoint leaflet.js:5
update leaflet.js:5
onAdd leaflet.js:5
_layerAdd leaflet.js:5
whenReady leaflet.js:5
addLayer leaflet.js:5
addLayer leaflet.js:5
addLayer leaflet.js:5
addTo leaflet.js:5
_prepareNode leaflet.trackdrawer.min.js:1
addNode leaflet.trackdrawer.min.js:1
_loop2$ leaflet.trackdrawer.min.js:1
Babel 11
asyncGeneratorStep leaflet.trackdrawer.min.js:1
_next leaflet.trackdrawer.min.js:1
_asyncToGenerator leaflet.trackdrawer.min.js:1
_asyncToGenerator leaflet.trackdrawer.min.js:1
_dataLoadedHandler leaflet.trackdrawer.min.js:1
_callee3$ leaflet.trackdrawer.min.js:1
Babel 3
asyncGeneratorStep leaflet.trackdrawer.min.js:1
_next leaflet.trackdrawer.min.js:1
_asyncToGenerator leaflet.trackdrawer.min.js:1
_asyncToGenerator leaflet.trackdrawer.min.js:1
loadFile leaflet.trackdrawer.min.js:1
fire leaflet.js:5
onload leaflet.filelayer.js:88
load leaflet.filelayer.js:83
loadFile leaflet.trackdrawer.min.js:1
loadFile leaflet.trackdrawer.min.js:1
_import ImportButton.js:46
this.options.submitLabel ImportButton.js:87
jQuery 3
Steps to (usually) reproduce:
Moving it again sometimes fixes the computation.
Example:
Altitude max: 2280m D+: 434m Altitude min: 0m D-: 3991m Distance: 4.73km
Altitude max: 1716m D+: 0m Altitude min: 0m D-: 1716m Distance: 0km
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.