コード例 #1
0
ファイル: OsrmClient.cs プロジェクト: JadYammine/Osrm.Client
 /// <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));
 }
コード例 #2
0
 public NearestResponse Nearest(NearestRequest requestParams)
 {
     return(Send <NearestResponse>(NearestServiceName, requestParams));
 }