NAStreetDirection

A class that contains information describing traveling on a portion of a route.

Property

Type

Description

Azimuth

double

The azimuth is an angle, measured clockwise in decimal degrees, that represents the observers view direction relative to the North Pole.

CumulativeLength

double

The total distance to travel from the first stop through the direction element.

DriveTime

double

The time to travel along the direction element.

Envelope

Envelope

The geographic envelope of the direction element.

EstimatedArrivalTime

DateTime

The estimated time of arrival at the direction element.

Events

NAStreetDirectionEvent[]

Array of street direction event objects.

Length

double

The length of the direction element.

ManeuverPoint

Point

The point the maneuver occurs.

ManeuverType

esriDirectionsManeuverType

The type of maneuver for a direction item.

Strings

string[]

The set of textual strings conveying directional information.

StringTypes

esriDirectionsStringType[]

The type of each direction string in the property Strings.

Time

double

The time to travel along the direction element.

TurnAngle

double

The turn angle at the maneuver point of the item.

Remarks

The NACompactStreetDirection object is significantly smaller than the NAStreetDirection object. In particular, there is less information stored about the direction, and the geometry representing the traversed streets is highly compressed. Due to their smaller size, these directions are better suited for passing across low bandwidth connections in server applications.

2/28/2020