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.
- Start Visual Studio and open the solution.
- Build the solution to make the DynamicDisplayHUD class library.
- Use this command in an application with a MapControl and a ToolbarControl, such as the MapControlApplication template included with the Visual Studio integration.
- Add both commands to the ToolbarControl. The commands can be found in the .NET Samples category with the names, Dynamic HUD and Toggle dynamic mode.
- Run the application, add, then click the Toggle dynamic mode command to switch into dynamic mode.
- Click Dynamic HUD to add the HUD to the map.
- Use the rotation tool to rotate the map (the HUD changes while the map rotates).
DDHUDCmd.cs | Implementation file for the Dynamic Display HUD class. |
ToggleDynamicModeCmd.cs | Command to switch on and off dynamic mode. |
OpenGL_GL_v4.cs | Wrapper class for OpenGL GL library. |
OpenGL_GLU_v4.cs | Wrapper class for OpenGL GLU library. |
OpenGL_WGL_v4.cs | Wrapper class for OpenGL WGL library. |
Download the files for all languages
See Also:
Dynamic displaySample: Dynamic display compass
Sample: Dynamic display layer
Sample: Dynamic logo
How to create a dynamic glyph from a marker symbol
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |
ArcView | |
ArcEditor | |
ArcInfo |