HERE iOS SDK Developer's Guide

NMAMapRoute

Class Summary

class NMAMapRoute

Derived from: NMAMapObject

Represents a NMAMapObject in the shape of a route that can be displayed on a map.

Include: NMAKit.framework/headers/NMAMapRoute.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAMapRoute

[For complete information, see the section Class Details]

See also:

NMARoute

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, writable, strong] UIColor *  color

The UIColor representing the color of the NMAMapRoute

[readable, writable, assign] BOOL  maneuverNumberDisplayed

Indicates whether the maneuver number is displayed on the NMAMapRoute

[readable, writable, strong] NMARoute route

The NMARoute represented by the NMAMapRoute

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(instancetype) UNAVAILABLE_ATTRIBUTE

Use mapRouteWithRoute to instantiate a NMAMapRoute

Class Method Summary

Table 3. Class Methods
Class Methods

+(instancetype) mapRouteWithRoute:( NMARoute *) route

A convenience constructor for NMAMapRoute

Class Details

Represents a NMAMapObject in the shape of a route that can be displayed on a map.

In order to display the route object on the map, the route object needs to be added to an NMAMapView using its addMapObject: method. The NMAViewObject location property for a NMAMapRoute returns the coordinates of the first waypoint.

See also:

NMARoute

Public Property Details

[readable, writable, strong] UIColor * color

The UIColor representing the color of the NMAMapRoute.

Note:

Alpha-value transparency is supported and will also be set when setting this property.

[readable, writable, assign] BOOL maneuverNumberDisplayed

Indicates whether the maneuver number is displayed on the NMAMapRoute.

[readable, writable, strong] NMARouteroute

The NMARoute represented by the NMAMapRoute.

Instance Method Details

-(instancetype) UNAVAILABLE_ATTRIBUTE

Use mapRouteWithRoute to instantiate a NMAMapRoute.

Class Method Details

+(instancetype) mapRouteWithRoute:( NMARoute *) route

A convenience constructor for NMAMapRoute.

Parameters:

  • route

    The route object from which to construct the NMAMapRoute.

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.