How to use
See How to use ArcGIS samples for help on compiling, setting up the debugger, and running the sample.
Data has been provided for your use with this sample. It can be found at
<Your ArcGIS Developer Kit Install directory>/Samples/data/wsiearth.
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.
- Start Visual Studio and open the solution file.
- Build the solution.
- Press F5 or double-click the resulting executable to run the application.
- Click the Add Data command and select the Rasters data type on the left panel on the Add Data dialog box, then browse to the wsiearth folder in the data provided with the samples.
- Click the wsiearth.tif image and click Open to add it to the map.
- Click the Toggle Dynamic Mode command on the toolbar to switch to dynamic mode.
- Click the Continuous Zoom, Roam, and Rotation tools on the toolbar to navigate the map.
- Click the Add Dynamic Map command on the toolbar to add a dynamic layer.
- To add additional instances of the dynamic layer to the map, click the Add Dynamic Map command again.
- Click the Toggle Dynamic Mode command on the toolbar to turn off dynamic mode.
- Close the application.
MyDynamicLayer.cs | The dynamic layer implementation file. |
LoadDynamicLayerCmd.cs | The LoadDynamicLayerCmd.cs file. |
ToggleDynamicDisplayCmd.cs | The ToggleDynamicDisplayCmd.cs file. |
MainForm.cs | The application main form. |
CreateNewDocument.cs | A custom command to create a map document. |
MyDynamicLayer.vb | The dynamic layer implementation file. |
LoadDynamicLayerCmd.vb | The LoadDynamicLayerCmd.cs file. |
ToggleDynamicDisplayCmd.vb | The ToggleDynamicDisplayCmd.cs file. |
MainForm.vb | The application main form. |
CreateNewDocument.vb | A custom command to create a map document. |
Download the files for all languages
See Also:
Walkthrough: Getting started with dynamic displayDynamic display
How dynamic display works
Best practices for using dynamic display
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |
ArcView | |
ArcEditor | |
ArcInfo |