Leaflet demo
For update marker position
HTML
<script src="http://cdn.leafletjs.com/leaflet/v1.0.0-rc.1/leaflet.js"></script>
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet/v1.0.0-rc.1/leaflet.css">
<div id="map"></div>
CSS
#map {
height: 500px;
width: 80%;
}
JavaScript
var map = L.map('map').setView([44.635, 22.653], 11);
osm = L.tileLayer('http://{s}.tile.openstreetmap.org/{z}/{x}/{y}.png').addTo(map),
circle = L.circleMarker([44.63, 22.65], 8).addTo(map),
drag = new L.Draggable(circle.getElement());
drag.enable();
drag.on('drag', function(e){
console.log(map.mouseEventToLatLng(e.originalEvent));
});