I have a marker on a map which takes this function upon dragging:
function handleOnDragEndUpdateMarker(e) { var markerIndex = e.target.options.marker_in