private static void Match5x(Osrm5x osrm) { var locations = new Location[] { new Location(52.517037, 13.388860), new Location(52.529407, 13.397634), new Location(52.523219, 13.428555) }; var request = new Osrm.Client.Models.MatchRequest() { Coordinates = locations }; var result = osrm.Match(request); }
public Osrm.Client.Models.Responses.MatchResponse Match(Osrm.Client.Models.MatchRequest requestParams) { return(Send <Osrm.Client.Models.Responses.MatchResponse>(MatchServiceName, requestParams)); }
public async Task <Models.Responses.MatchResponse> MatchAsync(Osrm.Client.Models.MatchRequest requestParams) { return(await SendAsync <Osrm.Client.Models.Responses.MatchResponse>(MatchServiceName, requestParams)); }