How to use
See How to use ArcGIS samples for help on running the sample.
- Run the AddLayerFileToMap application.
- Click AddLayer and browse to a feature layer to add to the map (repeat this step as necessary).
- Click RemoveLayer and select a layer to remove from the map (repeat this step until no layers are left in the map).
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.
mapbean/AddLayerFileToMap.java | Main class. |
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine |
ArcGIS for Desktop Basic | |
ArcGIS for Desktop Standard | |
ArcGIS for Desktop Advanced |