ArcGISTiledMapServiceLayer don't have VisibleLayers  property

2992
10
12-05-2011 01:07 AM
ImtiyazPasha1
New Contributor II
Hi,

ArcGISDynamicMapServiceLayer have VisibleLayers  property  to check visible subLayers on Map.
But How to check with ArcGISTiledMapServiceLayer's subLayers visible on  Map or not.

I want sublayer visibility on Map not DefaultVisibility of subLayers.

Please help me regarding this.


imtpa777
0 Kudos
10 Replies
DominiqueBroux
Esri Frequent Contributor
So in ArcGIS API for Flex 3.0, how does one obtain the visible layers of an ArcGISTiledMapServiceLayer for the sake of knowing which layers are visible?


I am not sure about FLEX but for Silverlight you can get a sublayer visibility by using either GetLayerVisibility or the DefaultVisibility of the Layers array.
0 Kudos