leaflet-gpx icon indicating copy to clipboard operation
leaflet-gpx copied to clipboard

No GPX data for get_moving_speed

Open petermisovic opened this issue 1 year ago • 0 comments

Hello, when I use following code to display average moving speed from GPX, I do not have any data shown in console:

new L.GPX(gpx_etapa_2_den_4, { async: false, polyline_options: { color: 'red', opacity: 1, weight: 5, lineCap: 'round' }}).on('loaded', function(e) { var gpx = e.target; Console.Log(gpx.get_moving_speed()); }).addTo(mymap);

Could you please help me with this code?

thank you Peter

petermisovic avatar Jul 28 '22 09:07 petermisovic