Nearest routes
routes_nearestGiven a starting point and several destinations, say which is quickest to reach and put them in order. Each destination is a separate routing lookup, so ask about the places you are actually choosing between rather than a long list
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | Yes | The places to compare, e.g. ['Heathrow', 'Gatwick', 'Stansted'] | |
| from | No | Where you are starting from, e.g. 'Shoreditch, London' (or give from_lat/from_lon) | |
| mode | No | How to travel: drive (default), walk, cycle or transit | |
| from_lat | No | Optional start latitude, if already known | |
| from_lon | No | Optional start longitude, if already known |