I have a simple Leaflet map and would like to add a GPX file coming from a Garmin device. I use omnivore plugin and by default it gets a line. How could I represent points in each coordinate instead of a line?
var map = L.map('map').setView([41.39742, 2.16328], 13);
L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png', {
maxZoom: 25,
attribution:'Map data © <ahref="http://openstreetmap.org">OpenStreetMap'
}).addTo(map);
var gpxURL = './gpx/Track_PESCA1-19 071255.gpx';
var gpx = omnivore.gpx(gpxURL).addTo(map);