/** * Isochrone Request * The GraphHopper Isochrone API allows calculating an isochrone of a locations means to calculate 'a line connecting points at which a vehicle arrives at the same time,' see [Wikipedia](http://en.wikipedia.org/wiki/Isochrone_map). It is also called **reachability** or **walkability**. * @param point Specify the start coordinate (required) * @param key Get your key at graphhopper.com (required) * @param timeLimit Specify which time the vehicle should travel. In seconds. (optional, default to 600) * @param distanceLimit Specify which distance the vehicle should travel. In meter. (optional, default to -1) * @param vehicle Possible vehicles are bike, car, foot and [more](https://graphhopper.com/api/1/docs/supported-vehicle-profiles/) (optional, default to car) * @param buckets For how many sub intervals an additional polygon should be calculated. (optional, default to 1) * @param reverseFlow If `false` the flow goes from point to the polygon, if `true` the flow goes from the polygon \"inside\" to the point. Example usage for `false`&#58; *How many potential customer can be reached within 30min travel time from your store* vs. `true`&#58; *How many customers can reach your store within 30min travel time.* (optional, default to false) * @return ApiResponse<IsochroneResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse<IsochroneResponse> isochroneGetWithHttpInfo(String point, String key, Integer timeLimit, Integer distanceLimit, String vehicle, Integer buckets, Boolean reverseFlow) throws ApiException { com.squareup.okhttp.Call call = isochroneGetValidateBeforeCall(point, key, timeLimit, distanceLimit, vehicle, buckets, reverseFlow, null, null); Type localVarReturnType = new TypeToken<IsochroneResponse>(){}.getType(); return apiClient.execute(call, localVarReturnType); }
/** * Isochrone Request * The GraphHopper Isochrone API allows calculating an isochrone of a locations means to calculate 'a line connecting points at which a vehicle arrives at the same time,' see [Wikipedia](http://en.wikipedia.org/wiki/Isochrone_map). It is also called **reachability** or **walkability**. * @param point Specify the start coordinate (required) * @param key Get your key at graphhopper.com (required) * @param timeLimit Specify which time the vehicle should travel. In seconds. (optional, default to 600) * @param distanceLimit Specify which distance the vehicle should travel. In meter. (optional, default to -1) * @param vehicle Possible vehicles are bike, car, foot and [more](https://graphhopper.com/api/1/docs/supported-vehicle-profiles/) (optional, default to car) * @param buckets For how many sub intervals an additional polygon should be calculated. (optional, default to 1) * @param reverseFlow If `false` the flow goes from point to the polygon, if `true` the flow goes from the polygon \"inside\" to the point. Example usage for `false`&#58; *How many potential customer can be reached within 30min travel time from your store* vs. `true`&#58; *How many customers can reach your store within 30min travel time.* (optional, default to false) * @return ApiResponse<IsochroneResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse<IsochroneResponse> isochroneGetWithHttpInfo(String point, String key, Integer timeLimit, Integer distanceLimit, String vehicle, Integer buckets, Boolean reverseFlow) throws ApiException { com.squareup.okhttp.Call call = isochroneGetValidateBeforeCall(point, key, timeLimit, distanceLimit, vehicle, buckets, reverseFlow, null, null); Type localVarReturnType = new TypeToken<IsochroneResponse>(){}.getType(); return apiClient.execute(call, localVarReturnType); }
/** * Isochrone Request * The GraphHopper Isochrone API allows calculating an isochrone of a locations means to calculate 'a line connecting points at which a vehicle arrives at the same time,' see [Wikipedia](http://en.wikipedia.org/wiki/Isochrone_map). It is also called **reachability** or **walkability**. * @param point Specify the start coordinate (required) * @param key Get your key at graphhopper.com (required) * @param timeLimit Specify which time the vehicle should travel. In seconds. (optional, default to 600) * @param distanceLimit Specify which distance the vehicle should travel. In meter. (optional, default to -1) * @param vehicle Possible vehicles are bike, car, foot and [more](https://graphhopper.com/api/1/docs/supported-vehicle-profiles/) (optional, default to car) * @param buckets For how many sub intervals an additional polygon should be calculated. (optional, default to 1) * @param reverseFlow If `false` the flow goes from point to the polygon, if `true` the flow goes from the polygon \"inside\" to the point. Example usage for `false`&#58; *How many potential customer can be reached within 30min travel time from your store* vs. `true`&#58; *How many customers can reach your store within 30min travel time.* (optional, default to false) * @param weighting Can be fastest or shortest (optional, default to fastest) * @return ApiResponse<IsochroneResponse> * @throws ApiException If fail to call the API, e.g. server error or cannot deserialize the response body */ public ApiResponse<IsochroneResponse> isochroneGetWithHttpInfo(String point, String key, Integer timeLimit, Integer distanceLimit, String vehicle, Integer buckets, Boolean reverseFlow, String weighting) throws ApiException { com.squareup.okhttp.Call call = isochroneGetValidateBeforeCall(point, key, timeLimit, distanceLimit, vehicle, buckets, reverseFlow, weighting, null, null); Type localVarReturnType = new TypeToken<IsochroneResponse>(){}.getType(); return apiClient.execute(call, localVarReturnType); }
com.squareup.okhttp.Call call = isochroneGetValidateBeforeCall(point, key, timeLimit, distanceLimit, vehicle, buckets, reverseFlow, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken<IsochroneResponse>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback);
com.squareup.okhttp.Call call = isochroneGetValidateBeforeCall(point, key, timeLimit, distanceLimit, vehicle, buckets, reverseFlow, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken<IsochroneResponse>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback);
com.squareup.okhttp.Call call = isochroneGetValidateBeforeCall(point, key, timeLimit, distanceLimit, vehicle, buckets, reverseFlow, weighting, progressListener, progressRequestListener); Type localVarReturnType = new TypeToken<IsochroneResponse>(){}.getType(); apiClient.executeAsync(call, localVarReturnType, callback);