Hello,
Migrating a routing application from 3.X to 4.X, I am currently facing an issue with the 'curbApproach' attribute of barriers:
https://developers.arcgis.com/javascript/latest/api-reference/esri-rest-support-PointBarrier.html#cu...
I am under the impression that JS API does not take into account this attribute and does not send it to the 'Solve' operation:
https://codepen.io/NicolasGIS/pen/yLQOeGq?editors=100 (copy paste code in RouteLayer sandbox as it requires a token:
https://developers.arcgis.com/javascript/latest/sample-code/sandbox/?sample=layers-routelayer
The 'barriers' parameter is sent with the following value:
barriers: {"features":[{"geometry":{"spatialReference":{"wkid":4326},"x":-117.30968,"y":34.06493}}]}
and is not taken into account.
Did I miss anything or does it look like a BUG ?
Thanks,
Nicolas