Globe Fly tool


PurposeThis add-in sample shows how to create a Fly tool for ArcGlobe. This sample mimics the out-of-the-box Fly tool for ArcGlobe. Developers can use this sample as a starting point to customize the Fly tool according to their needs.

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.

  1. Open the solution in Visual Studio.
  2. Build the solution.
  3. Open ArcGlobe (in design mode).
  4. On the Customize dialog box, choose the Add-In Controls category.
  5. On the Command Items pane, drag the Globe Fly tool command onto a toolbar.
  6. Select the Globe Fly tool and click the globe to start flying.
  7. Successive clicks increase the flying speed and right-clicks decrease the flying speed.
  8. Clicking the middle mouse button sets the flying speed to zero.

Fly.cs Implementation of the tool.
PointZ.cs Helper class that defines a type PointZ that is used in Fly.cs.
Download the C# files
Fly.vb Implementation of the tool.
PointZ.vb Helper class that defines a type PointZ that is used in Fly.vb.
Download the VB.NET files

Download the files for all languages




Development licensing Deployment licensing
ArcGIS for Desktop Basic: 3D Analyst ArcGIS for Desktop Basic: 3D Analyst
ArcGIS for Desktop Standard: 3D Analyst ArcGIS for Desktop Standard: 3D Analyst
ArcGIS for Desktop Advanced: 3D Analyst ArcGIS for Desktop Advanced: 3D Analyst