Skip to content

Latest commit

 

History

History
 
 

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

Dynamic heads up display

This sample demonstrates a combination of the Dynamic Display application programming interface (API) drawing and pure OpenGL drawings in the same tool. The sample shows the map's azimuth as a heads up display (HUD), which updates automatically when the map rotates.
 
When you are rotating the map, the numbers showing in the HUD are different than the numbers reported by the rotation tool, because the reported map rotation is the mathematical angle, while the HUD shows the angle from the north (the map's azimuth).
Language:              C#
Subject:               Graphics Pipeline
Organization:          Esri, http://www.esri.com
Date:                  10/17/2019
ArcObjects SDK:        10.8
Visual Studio:         2017, 2019
.NET Target Framework: 4.5

Resources

Usage

  1. Start Visual Studio and open the solution.
  2. Build the solution to make the DynamicDisplayHUD class library.
  3. Use this command in an application with a MapControl and a ToolbarControl, such as the MapControlApplication template included with the Visual Studio integration.
  4. 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.
  5. Run the application, add, then click the Toggle dynamic mode command to switch into dynamic mode.
  6. Click Dynamic HUD to add the HUD to the map.
  7. Use the rotation tool to rotate the map (the HUD changes while the map rotates).

See Also

Dynamic display
Sample: Dynamic display compass
Sample: Dynamic display layer
Sample: Dynamic logo
How to create a dynamic glyph from a marker symbol


Licensing

Development licensing Deployment licensing
Engine Developer Kit Engine
ArcGIS Desktop Basic
ArcGIS Desktop Standard
ArcGIS Desktop Advanced