Is This Content Helpful?
We're glad to know this article was helpful.
In ArcIMS Java viewers, the ratio of the overview map extent to the main map extent is known as the zoom factor. If the main map extent is changed by zooming-in or zooming-out, the extent of the overview map will also be changed dynamically to maintain the zoom factor. For example, a zoom factor of four means that the extent of the overview map will change when the map's main scale is less than one-fourth the overview map scale. By increasing the zoom factor, the overview map extent will not change as often for relatively small changes in the scale of the main map.
Unfortunately the IMSOverviewMap object in the Java Viewer object model does not have a method to alter the zoom factor for the existing overview map component in a Java Viewer. To define an overview map with a custom zoom factor, add an OVERVIEWMAP element to the viewer configuration file. This will create a new overview map within the main map applet. If using custom Java Viewer, hide the existing overview map frame and use the new overview map. Instructions provided describe how to change the ratio of the overview map extent to the main map extent in a Java Viewer.
<OVERVIEWMAP backgroundcolor="255,255,255" framefillcolor="255,0,0"
<LAYERDEF name="STATES" />
See the ArcXML Programmer's Reference Guide for more detailed information on the OVERVIEWMAP element.
<frameset rows="120,*" id="overview_toc_frameset">
<frameset rows="0,*" id="overview_toc_frameset">