Hello,
Migrating a routing application from 3.X to 4.X, I am currently facing an issue with the 'curbApproach' attribute of barriers:
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
Solved! Go to Solution.
Took a while to be logged but here it is:
BUG-000160198- The ‘curbApproach’ property of PointBarrier object is not honored when used in RouteLayer class of the ArcGIS Maps SDK for JavaScript 4.27
Took a while to be logged but here it is:
BUG-000160198- The ‘curbApproach’ property of PointBarrier object is not honored when used in RouteLayer class of the ArcGIS Maps SDK for JavaScript 4.27