Navigating around the GlobeControl


PurposeThis sample demonstrates how to control the size, position, and spin speed of the globe object in the GlobeControl. There is a command button provided to allow globe documents to be selected. However, control of the globe can be seen with or without globe data loaded, since the globe is visible as a wire mesh when no data is loaded.

The three other command buttons provided with the application demonstrate how to zoom in and out from the current viewpoint and how to restore the globe to its default position by setting properties of the GlobeCamera. The option buttons either enable the GlobeControl's default navigation functionality or use the mouse events to provide zoom in and out functionality. The check box and slider control the spin and spin speed of the GlobeViewer.

Development licensing Deployment licensing
Engine Developer Kit Engine Runtime: 3D
ArcView: 3D Analyst
ArcEditor: 3D Analyst
ArcInfo: 3D Analyst

How to use

See Using the samples for help on compiling, setting up the debugger, and running the sample (either an exe or dll).

  1. Browse to a globe document to load into the GlobeControl, if desired.
  2. Navigate around the globe using the command buttons in the application.
  3. Control the globe position and size using the option buttons and mouse.
  4. Set the globe spinning using the check box and control the spin speed with the slider control.

AssemblyInfo.cs Assembly information
Navigation.cs Form file
Download the C# files
AssemblyInfo.vb Assembly information
Navigation.vb Form file
Download the VB.NET files

Download the files for all languages

See Also:

GlobeControl class
IGlobeControl interface