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/World/World.mxd.
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.
- Build the solution to make the Dynamic Cache Layer Manager command .dll file. Use the command in an application with a MapControl and ToolbarControl, such as the MyDynamicDisplayApp sample located in the .NET samples folder.
- Add this command to a ToolbarControl. The command (Dynamic Cache Layer Manager) can be found in the .NET samples category.
- Run the application containing the MapControl and ToolbarControl.
- Open the map document located in <Your ArcGIS Developer kit install location>/Samples/Data/World/World.mxd.
- Enable dynamic display first (see Additional Requirements in this sample for details if not using the MyDynamicDisplayApp sample), then click the Dynamic Cache Layer Manager button. The CacheManagerDlg dialog box appears.
- Experiment with the display of non-dynamic layers by modifying the cache layer properties in dynamic mode.
- Click Apply on the dialog box to accept the change.
- Click OK to accept all changes, then close the dialog box.
CacheManagerDlg.cs | Dialog box used to change the Cache Layer Manager properties. |
CacheLayerManagerCmd.cs | Command that opens the Cache Layer Manager properties dialog box. |
CacheManagerDlg.vb | Dialog box used to change the Cache Layer Manager properties. |
CacheLayerManagerCmd.vb | Command that opens the Cache Layer Manager properties dialog box. |
Download the files for all languages
See Also:
Dynamic displayHow dynamic display works
Best practices for using dynamic display
Walkthrough: Getting started with dynamic display
Sample: Dynamic display layer
Sample: Dynamic biking
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine |
ArcGIS for Desktop Basic | |
ArcGIS for Desktop Standard | |
ArcGIS for Desktop Advanced |