Requesting data from API. Drawing markers on 'dragend'