/// <summary> /// Returns the nearest street segment for a given coordinate /// <param name="requestParams"></param> /// <returns></returns> public async Task <NearestResponse> NearestAsync(NearestRequest requestParams) { return(await SendAsync <NearestResponse>(NearestServiceName, requestParams.UrlParams)); }
public NearestResponse Nearest(NearestRequest requestParams) { return(Send <NearestResponse>(NearestServiceName, requestParams)); }