HOW TO
The HTML Viewer can be easily customized to not display certain layer names in the Table of Contents (TOC).
Note:
For information on how to achieve these results in an ArcIMS 3.1, 4.0, or 4.0.1 HTML Viewer, see the Customizing HTML Viewer documentation. A custom install must be done to load this PDF file.
Code:
for (var i=0;i<theCount;i++) {
Code:
if (t.LayerName[i] != "<layer name>") {
Note:
This line determines whether the layer name gets written or not.
Code:
//alert(parent.MapFrame.LayerName[i]);
Get help from ArcGIS experts
Download the Esri Support App