/// <summary> /// This computes distance tables for the given via points. /// Please note that the distance in this case is the travel time which is the default metric used by OSRM. /// If only loc parameter is used, all pair-wise distances are computed. /// If dst and src parameters are used instead, only pairs between scr/dst are computed. /// </summary> /// <param name="requestParams"></param> /// <returns></returns> public async Task <TableResponse> TableAsync(TableRequest requestParams) { return(await SendAsync <TableResponse>(TableServiceName, requestParams.UrlParams)); }
public TableResponse Table(TableRequest requestParams) { return(Send <TableResponse>(TableServiceName, requestParams)); }