How Can I Implement Multiple Routes in HereMaps?

339 Views Asked by At

How can I implement multiple routes using the iOS HereMap SDK. Can anyone provide the Example for the Multiple routes.

1

There are 1 best solutions below

1
On BEST ANSWER

In the Lite Variant (4.x) of the SDK, set alternativeRoutes in the Route options: https://developer.here.com/documentation/ios-sdk/api_reference/Structs/RouteOptions.html

In the Premium SDK (3.x), set alternatives routes in the NMAroutingMode, and it's called a bit differently there: ResultLimit See https://developer.here.com/documentation/ios-premium/api_reference_jazzy/Classes/NMARoutingMode.html#%2Fc:objc(cs)NMARoutingMode(py)resultLimit