move a marker on leaflet map with js code example Example: leaflet change marker location marker.setLatLng(e.latlng);