Nearest
nearestSnap a single point to the nearest road segment.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| number | No | How many alternatives to return (default 1) | |
| profile | No | ||
| latitude | Yes | ||
| longitude | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| code | No | Status code (Ok or error) | |
| waypoints | No | Array of nearest waypoint candidates |