BUG
For each layer in the map, the HTML Viewer's IdentifyAll tool returns the active layer's name if no features found in that particular layer.
This behavior is caused by is a bug in the aimsIdentify.js file. If the feature count is greater than zero for a particular layer, then layerIndex is correctly appended to the output form. However, if the feature count is zero for a particular layer, the ActiveLayerIndex is appended to the output form.
Code:
sendMapXML();
}
} else {
dataString += '<center><FONT FACE="Arial" SIZE="-1"><B>' + LayerName[ActiveLayerIndex] +'</B></font><FONT FACE="Arial" size="-2">\n';
dataString += '<br>' + msgList[64] + '<br>\n';
Code:
sendMapXML();
}
} else {
dataString += '<center><FONT FACE="Arial" SIZE="-1"><B>' + LayerName[layerIndex] +'</B></font><FONT FACE="Arial" size="-2">\n';
dataString += '<br>' + msgList[64] + '<br>\n';
Article ID:000007865
Get help from ArcGIS experts
Download the Esri Support App