HERE iOS SDK Developer's Guide

NMARoadElement

Class Summary

class NMARoadElement

Derived from: NSObject

Represents a section of a road.

Include: NMAKit.framework/headers/NMARoadElement.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMARoadElement

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NSString *  abbreviatedName

The abbreviated name of the road element

[readable, assign] NSUInteger  attributes

The attributes of the NMARoadElement

[readable, assign] NSUInteger  averageSpeed

The average speed of traffic on the NMARoadElement in m/s, or 0 if the information is not available

[readable, assign] NSUInteger  numberOfLanes

The number of lanes of the road element, or 0 if the data is unavailable

[readable, assign] NMARoadElementPluralType   pluralType

The plural type of the road element

[readable, assign] NSString *  roadName

The name of the road element, or an empty string if the data is not available

[readable, assign] NSUInteger  speedLimit

The speed limit of the NMARoadElement in m/s, or 0 if the information is not available

[readable, assign] NMARoadElementType   type

The type of the road element

[readable, assign] NSString *  uniqueId

The unique identifier of the NMARoadElement

Class Details

Represents a section of a road.

Public Property Details

[readable, assign] NSString * abbreviatedName

The abbreviated name of the road element. For example, I5 for the Interstate 5 in the US. This property will contain an empty string if the abbreviated name is unavailable.

[readable, assign] NSUInteger attributes

The attributes of the NMARoadElement. Can be a combination of any values from NMARoadElementAttribute.

[readable, assign] NSUInteger averageSpeed

The average speed of traffic on the NMARoadElement in m/s, or 0 if the information is not available.

[readable, assign] NSUInteger numberOfLanes

The number of lanes of the road element, or 0 if the data is unavailable.

[readable, assign] NMARoadElementPluralType  pluralType

See also:

NMARoadElementPluralType

[readable, assign] NSString * roadName

The name of the road element, or an empty string if the data is not available.

[readable, assign] NSUInteger speedLimit

The speed limit of the NMARoadElement in m/s, or 0 if the information is not available.

[readable, assign] NMARoadElementType  type

See also:

NMARoadElementType

[readable, assign] NSString * uniqueId

The unique identifier of the NMARoadElement.

Compare uniqueIds of two road elements if you only want to know whether they are the same road elements with the same geometries.