How to use
See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample. If the sample has associated data, you will find that the sample's zip file includes a "data" folder alongside the language folders. However, you will need to update the sample to point to the location of the data once you have extracted all the files.
- Compile the application.
- Start ArcMap.
- Click Customize, then Customize Mode.
- Click the commands tab.
- Scroll down to Network Analyst.
- Drag the tool corresponding to this sample up to the Network Analyst toolbar.
- Run a solve on a network analysis layer.
- Click the button for this sample to load the traversal result from the active network analysis layer on the map.
AddTraversalResultsToMap.cs | Main code for this application. |
Config.esriaddinx | Add-in configuration file. |
AddTraversalResultsToMap.vb | Main code for this application. |
Config.esriaddinx | Add-in configuration file. |
Download the files for all languages
See Also:
Programming with Network AnalystWhat is Network Analyst?
About the Network Analyst tutorial
NetworkAnalyst
Network Analyst Object Model Diagram
An overview of the network analyst toolbox
Development licensing | Deployment licensing |
---|---|
ArcInfo: Network Analyst | ArcInfo: Network Analyst |
ArcEditor: Network Analyst | ArcEditor: Network Analyst |
ArcView: Network Analyst | ArcView: Network Analyst |