This document is archived and information here might be outdated. Recommended version. |
Provides access to the Directions Agent.
Name | Description | |
---|---|---|
AutoShowDirections | Indicates if directions are automatically updated and shown when a route changes. | |
DirectionsContainer | The container for the directions. | |
DisplayTime | Indicates if time is displayed in directions. | |
Execute | Constructs the directions. | |
Language | Language to use when generating directions. | |
LengthUnits | The length units. | |
TimeAttributeName | The network attribute for time calculation. |
Interfaces | Description |
---|---|
INAStreetDirectionsAgent | Provides access to the Directions Agent. |
Classes | Description |
---|---|
NAStreetDirectionsAgent | Generates driving directions for network analysis results. |
The INAStreetDirectionsAgent interface allows you to specify the properties for generating directions.
Length units is a required field for directions.
You get the NAStreetDirectionsAgent from the NAContext's list of agents using the name "StreetDirectionsAgent". For example:
Set pStreetAgent = NAContext.Agents.ItemByName("StreetDirectionsAgent")
Specifying the language to generate directions in, requires that you know which languages are supported by your directions configuration files.