mapbox / mapbox-gl-directions

Directions plugin for mapbox-gl-js using Mapbox Directions API.
https://mapbox.com/mapbox-gl-js/example/mapbox-gl-directions/
ISC License
235 stars 124 forks source link

exclude points doesn't work #319

Open i4innovationnet opened 2 weeks ago

i4innovationnet commented 2 weeks ago

I'm trying to exclude certain points by providing them in WKT format. This is supposed to be a "beta" feature which I'm not sure is enabled by default or requires some config however it doesn't work for me.

Error is:

{
  "message": "exclude value must be one of: ferry, cash_only_tolls, border_crossing, country_border, state_border",
  "code": "InvalidInput"
}