change marker position on click leaflet code example Example: leaflet change marker location marker.setLatLng(e.latlng);