Using following methodology.
- Solve the route to get the best path
- Take the current best path and load it as a polyline barrier with a scale factor of x
This approach works fine when route length is small but gives error when route length is long.
The number of input locations loaded into PolylineBarriers exceeded the maximum allowed by the service: 500
Please suggest workaround for this issue.