HERE iOS SDK Developer's Guide

NMARouteResult

Class Summary

class NMARouteResult

Derived from: NSObject

Contains the result for a routing query.

Include: NMAKit.framework/headers/NMARouteResult.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMARouteResult

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSArray *  routes

An NSArray of NMARoute objects representing alternate route solutions, or nil if route calculation failed

[readable, assign] NSArray *  violatedOptions

NSArray of NSNumber objects, one per route calculated, representing which options (if any) were violated for the corresponding route

Class Details

Contains the result for a routing query.

Public Property Details

[readable, assign] NSArray * routes

An NSArray of NMARoute objects representing alternate route solutions, or nil if route calculation failed. The route at index 0 is the best result found. The number of routes in the array will be less than or equal to the resultCount property specified in the NMARoutingMode used for the route request. Only one result will be returned for routes with more than two waypoints. (Note that NMATransitRoute objects are returned for public transport routing only. Applications must show sourceAttribution info of NMATransitRoute if it is available).

[readable, assign] NSArray * violatedOptions

NSArray of NSNumber objects, one per route calculated, representing which options (if any) were violated for the corresponding route. The NSNumber objects should be converted to NSUInteger before checking. The value will be an OR combination of NMARoutingOption and NMARoutingViolatedOption values, or NMARoutingViolatedOptionNone if no options were violated. If route calculation failed, the array will contain a single object containing all the routing options (if any).

You cannot use this account to purchase a commercial plan on Developer Portal, as it is already associated to plans with different payment methods.

To purchase a commercial plan on Developer Portal, please register for or sign in with a different HERE Account.

Something took longer than expected.

The project should be available soon under your projects page.

Sorry, our services are not available in this region.

Something seems to have gone wrong. Please try again later.

We've detected that your account is set to Australian Dollars (AUD).
Unfortunately, we do not offer checkouts in AUD anymore.
You can continue using your current plan as normal, but to subscribe to one of our new plans,
please register for a new HERE account or contact us for billing questions on selfservesupport@here.com.