How to use
See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample.
Data has been provided for your use with this sample. It can be found at
<Your ArcGIS Developer Kit Install directory>/Samples/data/MilitaryOverlayEditor/molebasemap.mxd.
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.
- Build the MoleLeaderStack solution and run MoleLeaderStack.exe.
- Click Add Graphics. Several MOLE graphics appear on the map.
- Click Apply Leadering. Leadering is applied to the graphics.
- Click Apply Stacking. The graphics are stacked (like a deck of cards).
- Repeat Steps 2 through 4 to add a new set of graphics that can be leadered or stacked.
- Click Clear. All graphics are cleared from the map. See the following screen shots:
![Screen shot showing leadering applied to graphics.](./bitmaps/46085b76-23de-46a3-a60a-27b7727c0df21.png)
![Screen shot showing stacking applied to graphics.](./bitmaps/46085b76-23de-46a3-a60a-27b7727c0df22.png)
Additional information
Many of the ArcGIS Military Analyst and MOLE extension application programming interface (API) objects you have used in the past have equivalent or near equivalent objects in the ArcGIS 10 ArcObjects API. These new objects should now be used and do not require a Military Analyst extension or MOLE extension license. See Migrating from Military Analyst and MOLE for information on how to accomplish tasks in ArcGIS 10 that previously required the Military Analyst and MOLE APIs.MainForm.vb | Form for displaying MOLE graphics using the Map control. |
MainForm.Designer.vb | Form for displaying MOLE graphics using the Map control. |
MainForm.resx | Resources for the form. |
MainForm.cs | Form for displaying MOLE graphics using the Map control. |
MainForm.Designer.cs | Form for displaying MOLE graphics using the Map control. |
MainForm.resx | Resources for the form. |
Program.cs | Secures and releases resources for the application. |
Download the files for all languages
See Also:
DefenseSolutions library overview–Managing MOLE graphics as standard ArcObjectsUsing military symbology and symbol-based graphics
Sample: Displaying symbol-based MOLE graphics on a MapControl
Sample: Arranging MOLE graphics using manual decluttering
Sample: Using MOLE symbol-based graphics with interactive maps
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit: Military Overlay Editor | Engine Runtime: Military Overlay Editor |
ArcView: Military Overlay Editor | |
ArcEditor: Military Overlay Editor | |
ArcInfo: Military Overlay Editor |