Is This Content Helpful?
We're glad to know this article was helpful.
When clicking on any layer in the TOC, or Table of Contents, of a custom Java Viewer, the following error occurs in the java message console:
This error occurs if any of the tools in the Zoom and Pan ToolBar are unselected while designing the custom Java Viewer site using ArcIMS Designer.
When creating the Web site using Designer, at one point the tools to include in the Web site can be selected. By default, all the tools in the Zoom and Pan ToolBar are selected. If any of the tools are unchecked, the 'All' check box becomes unchecked itself. If 'All' is unchecked, the error occurs.
See descriptions for IMSMap.enableFunction in 'Customizing ArcIMS : Java Viewer' document available in <ArcIMS Installation Directory>/Documentation folder for more descriptions about this function.
ID value of 20 corresponds to All Zoom and Pan Functions.
You can find more information on different ID values in Customizing Java Viewer.pdf file that ships with ArcIMS.