I'm developing website with a custom tool in ArcGis Server 9.3 using Visual Studio 2008 and the ADF components, the thing is that when I click on my custom tool it calls a class, this class needs to check each layer available to see if it is enabled and visible (this properties changes when you zoom out or zoom in), does anyone knows how to accomplish this? Thanks.
Tell me more
×
Geographic Information Systems Stack Exchange is a question and answer site for
cartographers, geographers and GIS professionals. It's 100% free, no registration required.
|
|
I've used this VB.net code to do tasks similar to what you are asking. This is shortened from memory so bear with me.
Update: If instead you are using the .Net Web ADF you might want to take a look at the MapFunctionality class here. I've not used it but the GetLayerInfo method appears to provide the information you need. |
|||||||
|
|
IMap:Layers and IEnumLayer http://edndoc.esri.com/arcobjects/9.1/componenthelp/esricarto/IMap_Layers.htm |
|||||||
|
