bbrame
bbrame

Reputation: 18544

Mapbox Matrix API - Avoid Motorways

The Mapbox directions API allows you to avoid motorways documentation.

Is there a way to do this in the Matrix API? It is not apparent that this is supported in the API documentation.

Upvotes: 0

Views: 168

Answers (1)

The Mapbox Matrix API does not provide a means for avoiding motorways. The Mapbox Directions API exposes an optional exclude parameter, documented in the table here, which can be set to motorway when the profile parameter is either mapbox/driving or mapbox/driving-traffic. There is no exclude parity for the Matrix API.

Upvotes: 1

Related Questions