RubberBand zoom


Purpose
This sample uses the RubberPolygon object. This object is similar to RubberBand objects that are used to digitize geometries on the display using the mouse, either to create new geometry objects or to update existing ones. RubberBand objects can be thought of as simple versions of the Feedback objects in the Display application programming interface (API).

This sample demonstrates how to draw an extent on the map for the purpose of zooming in.

How to use

See How to use ArcGIS samples for help on running the sample.

  1. Run the sample.

If you installed the samples feature, you will find the files associated with this sample in <Your Developer Kit install location>\DeveloperKit10.4\Java\Samples\ArcObjects.

display/RubberBandZoom.java Main class




Development licensing Deployment licensing
Engine Developer Kit Engine