HERE iOS SDK Developer's Guide

NMALaneInformation

Class Summary

class NMALaneInformation

Derived from: NSObject

Gives information about a lane, e.g. its type, direction and recommendation state.

Include: NMAKit.framework/headers/NMALaneInformation.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMALaneInformation

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] BOOL  acceleration

Returns whether this is an acceleration lane.

[readable, assign] BOOL  auxLane

Returns whether this is an auxiliary lane.

[readable, assign] NMALaneInformationMarkingType   centerMarking

Gets the divider marking type for the center mark.

[readable, assign] BOOL  centerTurn

Returns whether this is a center turn lane.

[readable, assign] NMALaneInformationCrossingRestriction   crossingRestriction

Gets the crossing restriction of the lane. This indicates if it is illegal to enter or exit a lane.

[readable, assign] BOOL  deceleration

Returns whether this is a deceleration lane.

[readable, assign] NMALaneInformationDirection   directions

All the directions the lane leads to as an OR combination of one or more NMALaneInformationDirection values.

[readable, assign] NMALaneInformationMarkingType   dividerMarking

Gets the divider marking type for side marks.

[readable, assign] BOOL  driveableShoulder

Returns whether this is a driveable shoulder lane.

[readable, assign] BOOL  express

Returns whether this is an express lane.

[readable, assign] NSUInteger  heightRestriction

Gets the height restriction in cm or zero if there is no restriction or it is unknown.

[readable, assign] BOOL  hov

Returns whether this is a high occupancy vehicle (HOV) lane.

[readable, assign] BOOL  passing

Returns whether this is a passing lane.

[readable, assign] NMALaneInformationRecommendationState   recommendationState

Gets the recommendation state of the lane according to the current route.

[readable, assign] BOOL  regular

Returns whether this is a regular lane.

[readable, assign] BOOL  regulatedAccess

Returns whether this is a regulated access lane.

[readable, assign] BOOL  reversible

Returns whether this is a reversible lane.

[readable, assign] BOOL  slow

Returns whether this is a slow lane.

[readable, assign] NSUInteger  speedLimit

Gets the speed limit on this lane in the positive lane direction in km/h. Zero if the speed limit is not available. In the case of zero, the speed limit is the speed limit of the whole road (see NMARoadElement).

[readable, assign] BOOL  syntheticDirection

Gets whether the direction of the lane is synthetic.

[readable, assign] BOOL  truckParking

Returns whether this is a truck parking lane.

[readable, assign] BOOL  turn

Returns whether this is a turn lane.

[readable, assign] NSUInteger  width

Gets the lane width in cm or zero if the lane width is not available.

Instance Method Summary

Table 2. Instance Methods
Instance Method Summary

-(nonnull) init

Class Method Summary

Table 3. Class Methods
Class Methods

+(nonnull) new

Class Details

Gives information about a lane, e.g. its type, direction and recommendation state.

 

Public Property Details

[readable, assign] BOOL acceleration

Returns whether this is an acceleration lane.

Note:

An acceleration lane (or merge lane) allows traffic entering a highway to accelerate to the speed of through traffic before merging with it.

[readable, assign] BOOL auxLane

Returns whether this is an auxiliary lane.

Note:

An auxiliary lane is a lane other than a through lane, used to separate entering, exiting or turning traffic from the through traffic.

[readable, assign] NMALaneInformationMarkingType  centerMarking

Gets the divider marking type for the center mark.

Note:

Center markings are markings between lanes in opposite direction.

[readable, assign] BOOL centerTurn

Returns whether this is a center turn lane.

Note:

Center turn lane is a bidirectional turn lane located in the middle of a road that allows traffic in both directions to turn left (right for left side driving countries).

[readable, assign] NMALaneInformationCrossingRestriction  crossingRestriction

Gets the crossing restriction of the lane. This indicates if it is illegal to enter or exit a lane.

[readable, assign] BOOL deceleration

Returns whether this is a deceleration lane.

Note:

A deceleration lane is a lane adjacent to the primary road or street allowing drivers to pull out of the through lane and decelerate safely before turning off a surface street or exiting a freeway.

[readable, assign] NMALaneInformationDirection  directions

All the directions the lane leads to as an OR combination of one or more NMALaneInformationDirection values.

Note:

directions can be used as a bitmask (e.g. for efficient indexing of image resources).

[readable, assign] NMALaneInformationMarkingType  dividerMarking

Gets the divider marking type for side marks.

Note:

Divider markings are markings between lanes of same direction

[readable, assign] BOOL driveableShoulder

Returns whether this is a driveable shoulder lane.

Note:

A shoulder lane is reserved paved area on the side of the road (one or both sides) that are not generally used for driving, although it is possible under certain circumstances. Only shoulder lanes designated as a part-time driving lanes are included.

[readable, assign] BOOL express

Returns whether this is an express lane.

[readable, assign] NSUInteger heightRestriction

Gets the height restriction in cm or zero if there is no restriction or it is unknown.

[readable, assign] BOOL hov

Returns whether this is a high occupancy vehicle (HOV) lane.

Note:

A HOV lane (or carpool lane) is reserved for carpool usage. Carpool lane requires a minimum number of passengers in order for the car to use the carpool lane. HOV lanes may also be reserved for hybrids, motorcycles, alternate fuel, etc. HOV Lane may require a fee

[readable, assign] BOOL passing

Returns whether this is a passing lane.

[readable, assign] NMALaneInformationRecommendationState  recommendationState

Gets the recommendation state of the lane according to the current route.

Note:

If the map data does not provide connectivity information for this lane, then the recommendation state is set to NMALaneInformationRecommendationStateNotAvailable.

[readable, assign] BOOL regular

Returns whether this is a regular lane.

Note:

Regular lanes are lanes which have no specific use (i.e. they are not a special type such as hov, reversible, etc.)

[readable, assign] BOOL regulatedAccess

Returns whether this is a regulated access lane.

Note:

(Trucks only) A regulated access lane is a lane designated as a holding zone, used to regulate traffic using time intervals.

[readable, assign] BOOL reversible

Returns whether this is a reversible lane.

Note:

A reversible lane is a lane in which traffic may travel in either direction, depending on certain conditions (also known as a tidal flow lane).

[readable, assign] BOOL slow

Returns whether this is a slow lane.

[readable, assign] NSUInteger speedLimit

Gets the speed limit on this lane in the positive lane direction in km/h. Zero if the speed limit is not available. In the case of zero, the speed limit is the speed limit of the whole road (see NMARoadElement).

[readable, assign] BOOL syntheticDirection

Gets whether the direction of the lane is synthetic.

Note:

Synthetic directions are derived from the connectivity of the lane. Non-synthetic directions represent actual physical arrows printed on the lane.

[readable, assign] BOOL truckParking

Returns whether this is a truck parking lane.

Note:

Truck parking lanes are wide shoulder lane that maybe used for truck parking as well as for emergency.

[readable, assign] BOOL turn

Returns whether this is a turn lane.

Note:

Turn lane is an extra lane that is used for making a turn in order not to disrupt ongoing traffic.

[readable, assign] NSUInteger width

Gets the lane width in cm or zero if the lane width is not available.

Instance Method Details

-(nonnull) init

Instances of this class should not be initialized directly

Class Method Details

+(nonnull) new

Instances of this class should not be initialized directly

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.