Fixed bug in updating map after dragging map + removed console.logs