Multiple globe viewers


PurposeThis add-in sample shows how multiple viewer windows can be opened in ArcGlobe and tied to the main viewer. With this capability, developers can have multiple views from the same camera position. In this sample, the user has the option to add a new viewer to ArcGlobe, then by using the tool, get the "observer top down" view in the new window for the current observer location in the main viewer. The display in the new viewer is dynamically updated as the user navigates around in the main window. In a similar manner, developers can add other options in addition to the observer top down view.

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. Start ArcGlobe.
  4. On the Customize dialog box, choose the Add-In Controls category.
  5. On the Command Items pane, drag the MultipleGlobeViewers command onto a toolbar.
  6. Run the application.
  7. Add a new viewer using the Add New Viewer command on the ArcGlobe user interface (UI).
  8. Click the tool to open the form and select the viewer that you want to work with.
  9. Select the way you want to tie the new viewer to the main viewer; either TopDown or Synced up.
  10. Navigate on the main viewer and see how the secondary viewer is automatically updated.
  11. Note that the Top Down view works only in the surface mode. Therefore, if you choose the Top Down option while you are in the global navigation mode, until you change to local navigation mode, the secondary viewer is in sync with the main viewer.
  12. If the form is closed, the secondary viewers are no longer tied to the main viewer.

MultipleGlobeViewers.cs Main implementation file.
SecondaryViewerForm.cs Windows form class with the UI for the tool.
Download the C# files
MultipleGlobeViewers.vb Main implementation file.
SecondaryViewerForm.vb Windows form class with the UI for the tool
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