HERE iOS SDK Developer's Guide

NMARouteElement

Class Summary

class NMARouteElement

Derived from: NSObject

Represents a generic container for an element of a route.

Include: NMAKit.framework/headers/NMARouteElement.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMARouteElement

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSArray< NMAGeoCoordinates * > *  geometry

Gives all the points of the route element polyline presented as an array of NMAGeoCoordinates objects

[readable, assign] NMARoadElement roadElement

Road element of the route element

[readable, assign] NMATransitRouteElement transitRouteElement

NMATransitRouteElement of the route element

[readable, assign] NMARouteElementType   type

The route element type

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull instancetype) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull instancetype) new

Class Details

Represents a generic container for an element of a route.

Public Property Details

[readable, assign] NSArray< NMAGeoCoordinates * > * geometry

Gives all the points of the route element polyline presented as an array of NMAGeoCoordinates objects.

[readable, assign] NMARoadElementroadElement

Road element of the route element.

Note:

nil if type of the route element is not NMARouteElementRoad

[readable, assign] NMATransitRouteElementtransitRouteElement

NMATransitRouteElement of the route element.

Note:

nil if route element type is not NMARouteElementTransit.

[readable, assign] NMARouteElementType  type

The route element type.

Instance Method Details

-(nonnull instancetype) init

Instances of this class should not be initialized directly

Class Method Details

+(nonnull instancetype) new

Instances of this class should not be initialized directly