AnsweredAssumed Answered

Can I get multiple routes from SolveRouteAsync? (WPF/v100.1)

Question asked by keith.gemeinhart on Sep 11, 2017
Latest reply on Sep 11, 2017 by mnielsen-esristaff

SolveRouteAsync returns a result of type RouteResult. It has a Routes property that is IReadOnlyList<Route>.

 

Under what circumstances could/would I get more than one route? All examples I've found show code using only Routes[0]. Is there any way to force it to return a certain number of routes? For example, if I wanted the 5 shortest routes or something similar?

Outcomes