mapbox / leaflet-omnivore

universal format parser for Leaflet & Mapbox.js
https://www.mapbox.com/mapbox.js/example/v1.0.0/omnivore-gpx/
Other
651 stars 126 forks source link

omnivore.csv from markers to lines #113

Open alf4all opened 5 years ago

alf4all commented 5 years ago

I have a .csv file with time, latitude and longitude information. With: _omnivore.csv('csv/5935br27gps050.csv').addTo(mymap); I can add the GPS-positions with some customizing as markers on my map ( see: http://alf4all.demon.nl/engineering/topics/projects/iot/leaflet/test_04.htm ). But... How to add a polyline between the track-points? Can this be integrated in the .on('ready',function(layer){...});? Thanks and regards...