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.
- Start Visual Studio and open the solution.
- Build the solution to make the Animated Zoom In and Animated Zoom Out tool .dll files. Use both tools in an application with a MapControl and ToolbarControl, such as the MyDynamicDisplayApp sample located in the .NET samples folder.
- Add the Animated Zoom In and Animated Zoom Out tools to the ToolbarControl (located in the .NET samples category).
- Run the application.
- Click the Add Data command, select the Rasters data type on the dialog box, browse to <your ArcGIS developer kit install location>\Samples\data\wsiearth, then choose the wsiearth.tif file.
- Click Open to add the .tif file to the map.
- Make sure the map is in dynamic mode (see Additional Requirements in this sample for details if not using the MyDynamicDisplayApp sample).
- Click the Animated Zoom In tool, then click and drag an envelope on to the map.
- Click the Animated Zoom Out tool, then click and drag an envelope on to the map.
- Turn off the dynamic map and close the application.
AnimatedZoomInTool.cs | Tool that animates the map zoom in while dynamic display is enabled. |
AnimatedZoomOutTool.cs | Tool that animates the map zoom out while dynamic display is enabled. |
AnimatedZoomInTool.vb | Tool that animates the map zoom in while dynamic display is enabled. |
AnimatedZoomOutTool.vb | Tool that animates the map zoom out while dynamic display is enabled. |
Download the files for all languages
See Also:
Dynamic displayPersisting cache information for use in dynamic display
Limitations for dynamic display
Sample: Dynamic display layer
Development licensing | Deployment licensing |
---|---|
Engine Developer Kit | Engine Runtime |
ArcView | |
ArcEditor | |
ArcInfo |