Mapbox integration (Location, Developer Tools). Imported from open-connector.
https://api.mapbox.com/search/geocode/v6/forward
| Param | Type | Required | Description |
|---|---|---|---|
| q | string | required | The free-form text query to geocode. |
| autocomplete | boolean | optional | Whether Mapbox should return autocomplete-style results. |
| limit | integer | optional | The maximum number of features to return. |
| language | string | optional | The IETF language tag used for localized feature names. |
| country | array | optional | Country filters applied to the geocoding request. |
| types | array | optional | Feature types to include in the response. |
| bbox | array | optional | The `[minLon, minLat, maxLon, maxLat]` bounding box. |
| proximity | array | optional | A `[longitude, latitude]` coordinate pair. |
/search/geocode/v6/reverse
| Param | Type | Required | Description |
|---|---|---|---|
| longitude | number | required | The longitude of the coordinate to reverse geocode. |
| latitude | number | required | The latitude of the coordinate to reverse geocode. |
| limit | integer | optional | The maximum number of features to return. |
| language | string | optional | The IETF language tag used for localized feature names. |
| types | array | optional | Feature types to include in the response. |
| worldview | string | optional | The worldview applied to the response. |
/directions/v5/{profile}/{coordinates}
| Param | Type | Required | Description |
|---|---|---|---|
| profile | string | required | Routing profile used by the request. |
| coordinates | array | required | Route coordinates in travel order. |
| alternatives | boolean | optional | Whether to request alternative routes. |
| annotations | array | optional | Route annotations to include in the response. |
| continue_straight | boolean | optional | Whether the router should prefer continuing straight at waypoints. |
| exclude | array | optional | Route features to exclude. |
| geometries | string | optional | Geometry encoding used in the route response. |
| language | string | optional | Language used for route instructions. |
| overview | string | optional | Route overview geometry detail level. |
| roundabout_exits | boolean | optional | Whether roundabout maneuver exits should be included. |
| steps | boolean | optional | Whether step-by-step route instructions should be included. |
| voice_instructions | boolean | optional | Whether voice instructions should be included. |
| banner_instructions | boolean | optional | Whether banner instructions should be included. |
| avoid_maneuver_radius | number | optional | Radius in meters used to avoid immediate maneuvers. |
| depart_at | string | optional | Departure time used for time-aware routing. |
| arrive_by | string | optional | Arrival time used for time-aware routing. |
| waypoints | array | optional | Coordinate indexes that should be treated as waypoints. |
/directions-matrix/v1/{profile}/{coordinates}
| Param | Type | Required | Description |
|---|---|---|---|
| profile | string | required | Routing profile used by the request. |
| coordinates | array | required | Coordinates included in the matrix calculation. |
| annotations | array | optional | Matrix annotations to include in the response. |
| approaches | array | optional | Curb approach constraints for the coordinates. |
| bearings | array | optional | Bearing filters applied to the coordinates. |
| fallback_speed | number | optional | Fallback speed in meters per second. |
| sources | array | optional | Coordinates used as matrix sources. |
| destinations | array | optional | Coordinates used as matrix destinations. |