This document is archived and information here might be outdated. Recommended version. |
ArcObjects Help for .NET developers > ArcObjects namespaces > NetworkAnalyst > ESRI.ArcGIS.NetworkAnalyst > Interfaces > IN > INACompactStreetDirectionsAgent Interface (ArcObjects .NET 10.5 SDK) |
Provides access to the compact directions agent.
Description | ||
---|---|---|
DirectionsContainer | The container for the directions. | |
Execute | Constructs the directions. | |
Language | Language to use when generating directions. | |
LengthUnits | The length units. | |
TimeAttributeName | The network attribute for time calculation. |
CoClasses and Classes | Description |
---|---|
NACompactStreetDirectionsAgent | Generates compact driving directions for network analysis results. |
The INACompactStreetDirectionsAgent interface allows you to specify the properties for generating directions.
It generates directions that contain less information and compressed geometries representing the traversed streets. Due to their smaller size, these directions are better suited for passing across low bandwidth connections in server applications. To return these directions using NAServer, rather than using this interface directly, set the property INAServerRouteParams2::ReturnCompactDirections or INAServerClosestFacilityParams2::ReturnCompactDirections to true.
You get the NACompactStreetDirectionsAgent from the NAContext's list of agents using the name "CompactStreetDirectionsAgent". For example:
Set pStreetAgent=NAContext.Agents.ItemByName("CompactStreetDirectionsAgent")