WMS I did thisXAML:<esri:WmsLayer ID="AGSWMSLayer"
Url="http://serverapps.esri.com/ArcGIS/services/California/MapServer/WMSServer"
Initialized="WmsLayer_Initialized"/>
VB:Private Sub WmsLayer_Initialized(ByVal sender As System.Object, ByVal e As System.EventArgs)
Dim myWmsLayer As ESRI.ArcGIS.Client.Toolkit.DataSources.WmsLayer
myWmsLayer = TryCast(MyMap.Layers("AGSWMSLayer"), ESRI.ArcGIS.Client.Toolkit.DataSources.WmsLayer)
' You can control the visibility of which WMS layers are displayed by adding the
' sub-LayerID's to the String Array.
Dim myVisibleWmsLayers() As String = {"0", "1", "2", "3", "4", "5", "6", "7", "8"}
myWmsLayer.Layers = myVisibleWmsLayers
End Sub
But now I have a ArcGISDynamicMapServiceLayer.....I cant figure out how to specify which layer draws....this below line has to change...how do I DIM the DynamicMapSerive Layer....As its not a GeoRSSLayer, HeatMapLayer, OpenStreetMapLayer, or WMS Layer Dim myWmsLayer As ESRI.ArcGIS.Client.Toolkit.DataSources.WmsLayer
Any thoughts on how to specify individual layers in the Map Service to draw?Thanks