ArcObjects Library Reference (NetworkAnalyst)  

INALayer Interface

Provides access to the network analysis layer. Note: the INALayer interface has been superseded byINALayer2. Please consider using the more recent version.

Product Availability

Available with ArcGIS Engine, ArcGIS Desktop, and ArcGIS Server. Requires Network Analyst Extension.

Members

Description
Method Add Add a new layer.
Method Clear Clear all analysis layers.
Read/write property Context The network analysis context.
Method Delete Delete an existing layer.
Read/write property Expanded Indicates if the network analysis layer is expanded or collapsed in the TOC of the map.
Read-only property LayerByNAClassName The network analysis layer by class name.

CoClasses that implement INALayer

CoClasses and Classes Description
NALayer The layer for defining, solving, and viewing network analysis results.

Remarks

INALayer has been superseded by INALayer2.

.NET Snippets

Create OD Cost Matrix Layer | Create Route Layer | Clear NAClass | Get Active Analysis Layer | Create Vehicle Routing Problem Layer | Clear Active Analysis Layer | Create Service Area Layer | Create Location Allocation Layer | Create Closest Facility Layer |

.NET Samples

Add a traversal result to the map (Code Files: AddTraversalResultsToMap) | Closest facility solver (Code Files: frmClosestFacilitySolver) | Export any network analysis class to a text file (Code Files: NAClassToTextfileCmd) | Load network layer from active analysis to the table of contents (Code Files: LoadNetworkLayerFromActiveAnalysisToTOC) | Location-allocation solver (Code Files: frmLocationAllocationSolver) | Network Analyst barrier location editor (Code Files: NABarrierLocationEditor) | Network Analyst Engine application (Code Files: cmdClearAnalysisLayer cmdLoadLocations cmdNALayerProperties frmLoadLocations frmMain frmNALayerProperties) | Origin-destination cost matrix solver (Code Files: frmODCostMatrixSolver) | Route layer (Code Files: Program) | Subset network evaluators (Code Files: AutoUpdateNetworkElementArrayParametersCommand SubsetHelperUI) | Using the traversal result to select source features (Code Files: SelectFeaturesTool) | Vehicle routing problem solver (Code Files: frmVRPSolver) |

.NET Related Topics

How to load data into a network analysis problem | How to speed up VRP solves | NetworkAnalystUI |