HERE iOS SDK Developer's Guide

NMAManeuver

Class Summary

class NMAManeuver

Derived from: NSObject

Represents a maneuver, which is the action required to leave one street segment and enter the next in the linked chain of directions that comprises a calculated NMARoute.

Include: NMAKit.framework/headers/NMAManeuver.h

Inheritance Diagrams

Figure 1. Public inheritance diagram for NMAManeuver

[For complete information, see the section Class Details]

Public Property Summary

Table 1. Public Properties
Public Properties

[readable, assign] NMAManeuverAction   action

The NMAManeuverAction to take for the maneuver

[readable, assign] NSUInteger  angle

The angle in degrees from end of the start road to the start of the end road

[readable, weak] NMAGeoCoordinates coordinates

The NMAGeoCoordinates of the maneuver

[readable, assign] NSUInteger  distanceFromPreviousManeuver

The distance from the previous maneuver along the route to the NMAManeuver, in meters

[readable, assign] NSUInteger  distanceFromStart

The distance from the start of the route to the maneuver, in meters

[readable, assign] NSUInteger  distanceToNextManeuver

The distance to the next maneuver along the route to the NMAManeuver, in meters

[readable, assign] NMAManeuverIcon   icon

The NMAManeuverIcon for the NMAManeuver

[readable, assign] NSArray *  maneuverGeometry

Puts all points of the maneuvers polyline in the right order into the given collection

[readable, assign] NSUInteger  mapOrientation

The angle (from north) at the start of the maneuver, in degrees

[readable, assign] NMAImage nextRoadIcon

Gets the next road icon for this maneuver

[readable, weak] NSString *  nextRoadName

The name of the road to which the NMAManeuver leads

[readable, weak] NSString *  nextRoadNumber

The number of the road to which the maneuver leads, a short label for the road, (e

[readable, weak] NSString *  roadName

The name of the road on which the NMAManeuver takes place, nil if not available

[readable, weak] NSString *  roadNumber

The number of the road on which the NMAManeuver takes place, a short label for the road, (e

[readable, assign] NSArray *  routeElements

The list of NMARouteElement (or instances of classes derived from it) within the maneuver object

[readable, assign] NMASignpost signpost

Gets the signpost information for this maneuver

[readable, weak] NSDate *  startTime

The (estimated) time at which the maneuver starts in UTC

[readable, assign] NMAManeuverTrafficDirection   trafficDirection

[readable, assign] NMATransportMode   transportMode

Gets the transport mode for the maneuver

[readable, assign] NMAManeuverTurn   turn

The NMAManeuverTurn to take for the maneuver

Class Details

Represents a maneuver, which is the action required to leave one street segment and enter the next in the linked chain of directions that comprises a calculated NMARoute.

Public Property Details

[readable, assign] NMAManeuverAction  action

The NMAManeuverAction to take for the maneuver.

Note:

If the action for the maneuver is undefined, attempts to read this property will return NMAManeuverActionUndefined.

[readable, assign] NSUInteger angle

The angle in degrees from end of the start road to the start of the end road. Angle has a value from 0, 360, north is up, clockwise. For some aroundabouts, this angle is an approximation from the entry to the exit point of the roundabout, which may be used for customization of the aroundabout icon.

[readable, weak] NMAGeoCoordinatescoordinates

The NMAGeoCoordinates of the maneuver. If this maneuver contains one or more transit route elements, this coordinate will be the same as the coordinate of the 1st transit route element.

[readable, assign] NSUInteger distanceFromPreviousManeuver

The distance from the previous maneuver along the route to the NMAManeuver, in meters.

[readable, assign] NSUInteger distanceFromStart

The distance from the start of the route to the maneuver, in meters.

[readable, assign] NSUInteger distanceToNextManeuver

The distance to the next maneuver along the route to the NMAManeuver, in meters.

[readable, assign] NMAManeuverIcon  icon

The NMAManeuverIcon for the NMAManeuver.

Note:

If the icon type for the maneuver is undefined, attempts to read this property will return NMAManeuverIconUndefined.

[readable, assign] NSArray * maneuverGeometry

Puts all points of the maneuvers polyline in the right order into the given collection.

[readable, assign] NSUInteger mapOrientation

The angle (from north) at the start of the maneuver, in degrees.

Note:

Zero represents true-north, with increasing values representing a clockwise progression of map orientation.

[readable, assign] NMAImagenextRoadIcon

Gets the next road icon for this maneuver. nil if no next road icon for this maneuver.

[readable, weak] NSString * nextRoadName

The name of the road to which the NMAManeuver leads. nil if not available. If not available, it should be left blank. It's erroneous to assume that that may be the same as some maneuver along the route.

Note:

It is localized to the locale of the region.

[readable, weak] NSString * nextRoadNumber

The number of the road to which the maneuver leads, a short label for the road, (e.g. 5 for Interstate 5). nil if not available. If not available, it should be left blank. It's erroneous to assume that that may be the same as some maneuver along the route.

Note:

It is localized to the locale of the region.

[readable, weak] NSString * roadName

The name of the road on which the NMAManeuver takes place, nil if not available. If not available, it should be left blank. It's erroneous to assume that that may be the same as prior maneuvers.

Note:

It is localized to the locale of the region.

[readable, weak] NSString * roadNumber

The number of the road on which the NMAManeuver takes place, a short label for the road, (e.g. 5 for the Interstate 5).

Note:

If the road number for the maneuver is unknown, attempts to read this property will return an empty NSString. nil if not available. If not available, it should be left blank. It's erroneous to assume that that may be the same as prior maneuvers.

Note:

It is localized to the locale of the region.

[readable, assign] NSArray * routeElements

The list of NMARouteElement (or instances of classes derived from it) within the maneuver object.

[readable, assign] NMASignpostsignpost

Gets the signpost information for this maneuver.

Note:

nil if no signpost information for this maneuver.

[readable, weak] NSDate * startTime

The (estimated) time at which the maneuver starts in UTC.

Note:

The departure time must be set in NMARoutingMode before routing. nil if not available.

[readable, assign] NMAManeuverTrafficDirection  trafficDirection

Gets the current NMAManeuverTrafficDirection, indicating whether the traffic flows on the right or left side of the road

[readable, assign] NMATransportMode  transportMode

Gets the transport mode for the maneuver. This might differ from the transport mode used for route calculation. For example, in the case where a route is calculated using public transport, the overall route is a public transport route, but some individual maneuvers may be pedestrian (e.g. walking to a bus stop, transfers which involve walking to a new stop, etc.).

[readable, assign] NMAManeuverTurn  turn

The NMAManeuverTurn to take for the maneuver.

Note:

If the turn for the maneuver is undefined, attempts to read this property will return NMAManeuverTurnUndefined.

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.