Reputation: 3
How can I implement multiple routes using the iOS HereMap
SDK.
Can anyone provide the Example for the Multiple routes.
Upvotes: -1
Views: 366
Reputation: 2190
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
Upvotes: 1