Adjusting api call for gmap api