Forum Discussion
PanosT
Mar 04, 2025Copper Contributor
Azure Maps computeBestOrder=true returns wrong originalWaypointIndexAtEndOfLeg values
Hi. I am trying to create a module where clients can optimize their routes using the Azure Maps service using DevExpress Map Control v24.2.5 Unfortunately when parsing to Azure Maps service com...
Kidd_Ip
Apr 09, 2026MVP
Seems it is expected, the DevExpress control appears to be misinterpreting the index offsets. To ensure accurate mapping, the indices should be adjusted manually by incrementing each value by one and appending the destination index at the end. For labeling purposes, it is recommended to reference the original waypoint list provided in the request rather than relying on the truncated coordinates returned in the response.
https://samples.azuremaps.com/rest-services/route-waypoint-optimization