leaflet navigate to marker code example
Example 1: leaflet js marker
var marker = L.marker([41.084130725870885, 28.985710880135677]).addTo(mymap);
Example 2: leaflet change marker location
marker.setLatLng(e.latlng);
var marker = L.marker([41.084130725870885, 28.985710880135677]).addTo(mymap);
marker.setLatLng(e.latlng);