Provides access to the Directions Agent.
Product Availability
Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.
Members
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. |
Inherited Interfaces
Interfaces | Description |
---|---|
INAStreetDirectionsAgent | Provides access to the Directions Agent. |
CoClasses that implement INAStreetDirectionsAgent2
CoClasses and Classes | Description |
---|---|
NAStreetDirectionsAgent | Generates driving directions for network analysis results. |
Remarks
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.