How to use
See How to use ArcGIS samples for help on running the sample.
- Run the SolveClosestFacility application. A dialog panel and a map bean open in the application window.
- Modify the Cost Attribute, Target Facility Count, and Cut Off values if required, and optionally, select Hierarchy and Restrictions.
- Click the Find Closest Facility button. The Closest Facility Solver solves the network using the values entered and shows the closest facilities, along with a route, in the map panel.
If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.
networkanalyst/SolveClosestFacility.java | Main class |
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine: Network Analyst |
ArcGIS for Desktop Basic: Network Analyst |