distance
Calculate distance from one origin to multiple destinations
Changed onget/distance
Request
- Base URLhttps://api.geocod.io/v2
- URLhttps://api.geocod.io/v2/distance
- AuthAPI key in query parameter api_key
Query parameters
originstring required
destinations[]string[] required
mode'driving' | 'haversine' | 'straightline'
units'miles' | 'km'
max_resultsinteger
max_distancenumber
max_durationinteger
order_by'distance' | 'duration'
min_distancenumber
min_durationinteger
sort_order'asc' | 'desc'
countrystring
Response
Successful response
Changes
- info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
////to the response with the status - info
added the optional property
///to the response with the status - info
added the optional property
///to the response with the status
- info
- info
added the optional property
////to the response with the status
- info