<esriWMS:WMSMapServiceLayer ID="WMS Layer" Layers="2909_17518_bg" Url="http://aes.gsfc.nasa.gov/cgi-bin/wms" Opacity="0.7"></esriWMS:WMSMapServiceLayer>
can you tell me how did you get the WMSMapServiceLayer?
<esri:WmsLayer ID="LOGISLAYER" Url="http://gis.logis.org/ArcGIS/services/MG_TEST/MapServer/WMSServer" Initialized="WmsLayer_Initialized2"/>
Private Sub WmsLayer_Initialized2(ByVal sender As System.Object, ByVal e As System.EventArgs) Dim myWmsLayer As ESRI.ArcGIS.Client.Toolkit.DataSources.WmsLayer myWmsLayer = TryCast(MyMap.Layers("LOGISLAYER"), 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"} myWmsLayer.Layers = myVisibleWmsLayers End Sub
xmlns:esri="http://schemas.esri.com/arcgis/client/2009">
<esri:WmsLayer .../>
xmlns:esriWMS="clr-namespace:ESRI.ArcGIS.Client.Toolkit.DataSources;assembly=ESRI.ArcGIS.Client.Toolkit.DataSources"
<esriWMS:WMSMapServiceLayer ID="AGSWMSLayer" Url="http://sampleserver1.arcgisonline.com/ArcGIS/services/Specialty/ESRI_StatesCitiesRivers_USA/MapServer/WMSServer" SkipGetCapabilities="True" Layers="2" Version="1.3" Opacity="0.7"/>
Los miembros registrados pueden publicar, seguir actualizaciones y más. ¿Nuevo aquí? Regístrate gratis.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.