Actually setting and passing coords to api, correcting api longitude where latitude  was being passed instead