How to use
See How to use ArcGIS samples for help on 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.
- Run the sample.
- Click the Add OpenGL HUD command. A heads-up-display is added to the map.
- Use the Rotate tool to rotate the map. The display is updated to reflect the rotation of the map.
Download the files for Java
display/HUDApplication.java | Creates the graphical user interface (GUI) for the sample. |
display/ShowHUDCommand.java | Represents a command that sets the map to dynamic mode. The command attaches a map event listener, which draws the HUD using Java OpenGL (JOGL) in each AfterDynamicDraw event. It also attaches a display transformation event listener to update the HUD as the map is rotated. |
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |