hallahan / LeafletPlayback

This is a Leaflet plug-in that plays back points that have a time stamp synchronized to a clock.
http://leafletplayback.theoutpost.io
Other
484 stars 167 forks source link

togeojson convert *.GPX to *.geojson #63

Open fabio74 opened 6 years ago

fabio74 commented 6 years ago

Good morning, i have test the togeojson.html, i gìchage the name of source GPX file and th edestination name of geojson, but not functions.

...... var xmlStr = ''; $.ajax('Dog.gpx').done(function(xml) { ...... .... } save(geojson, 'Dog.geojson');

where is my error? i have tested it ffrom my computer, not on my web page.

Fabio

answerquest commented 6 years ago

Hi, are you running this from a server? ajax doesn't work when you just double-click the web page. You have to host it on some server. You can check out portable server solutions for getting a server up on your computer.

fabio74 commented 6 years ago

Thanks Nikhil, this week i test your solution. Thanks