I have a marker with the coordinates located:
función onLocationFound(e) {
var radius = e.accuracy / 2;
L.marker(e.latlng).addTo(map)
.bindPopup("You are within " + radius + " meters from this point").openPopup();
L.circle(e.latlng, radius).addTo(map);
}
and using the polyline leaflet function , I want to draw a line between the marker and the position to any marker.