mpetazzoni / leaflet-gpx

A GPX track plugin for Leaflet.js
http://mpetazzoni.github.io/leaflet-gpx
BSD 2-Clause "Simplified" License
529 stars 114 forks source link

set default value for time #64

Closed astridx closed 6 years ago

astridx commented 6 years ago

It happens very often that the <time>-tag in the gpx file is removed. Currently this plugin throws an error and terminate. My PR would insert a default value if a <trkseg>-tag does not contain a <time>-tag.

mpetazzoni commented 6 years ago

Thanks!