<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic WMS Layers Not Displaying in Runtime Without Name in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/wms-layers-not-displaying-in-runtime-without-name/m-p/382619#M4497</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I display the "root" layer in a WMS service using Runtime for .NET sdk? &amp;nbsp;This layer does not have a name property in the xml capabilities so I'm not sure how to specify it for the Layers property on the WmsLayer. &amp;nbsp;I can't seem to get any of the layers for this service to display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested with other services and they do seem to work when I specify the Layer's Name property, when every Layer in the WMS has a Name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink1" href="https://idpgis.ncep.noaa.gov/arcgis/services/NWS_Observations/NOHRSC_Snow_Analysis/MapServer/WmsServer?service=wms&amp;amp;request=GetCapabilities" title="https://idpgis.ncep.noaa.gov/arcgis/services/NWS_Observations/NOHRSC_Snow_Analysis/MapServer/WmsServer?service=wms&amp;amp;request=GetCapabilities"&gt;https://idpgis.ncep.noaa.gov/arcgis/services/NWS_Observations/NOHRSC_Snow_Analysis/MapServer/WmsServer?service=wms&amp;amp;request=GetCapabilities&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example xml:&lt;/P&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;SPAN class=""&gt;&amp;lt;Layer&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #000000; font-size: 13px; margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Title&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;![CDATA[ Layers ]]&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/Title&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CRS:84&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EPSG:4326&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EPSG:0&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;EX_GeographicBoundingBox&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;westBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;-130.516667&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/westBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;eastBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/eastBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;southBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/southBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;northBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/northBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/EX_GeographicBoundingBox&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;BoundingBox&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;CRS&lt;/SPAN&gt;="&lt;SPAN class=""&gt;CRS:84&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;minx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-130.516667&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;miny&lt;/SPAN&gt;="&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxy&lt;/SPAN&gt;="&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;BoundingBox&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;CRS&lt;/SPAN&gt;="&lt;SPAN class=""&gt;EPSG:4326&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;minx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;miny&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-130.516667&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxy&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;BoundingBox&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;CRS&lt;/SPAN&gt;="&lt;SPAN class=""&gt;EPSG:0&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;minx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-130.516667&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;miny&lt;/SPAN&gt;="&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxy&lt;/SPAN&gt;="&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Layer&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;queryable&lt;/SPAN&gt;="&lt;SPAN class=""&gt;1&lt;/SPAN&gt;"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Title&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;![CDATA[ Snow Water Equivalent ]]&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/Title&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Abstract&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;![CDATA[ ]]&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/Abstract&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CRS:84&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EPSG:4326&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EPSG:0&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;EX_GeographicBoundingBox&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;westBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;-130.516666&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/westBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;eastBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/eastBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;southBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/southBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;northBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/northBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/EX_GeographicBoundingBox&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;BoundingBox&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;CRS&lt;/SPAN&gt;="&lt;SPAN class=""&gt;CRS:84&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;minx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-130.516666&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;miny&lt;/SPAN&gt;="&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxy&lt;/SPAN&gt;="&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;BoundingBox&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;CRS&lt;/SPAN&gt;="&lt;SPAN class=""&gt;EPSG:4326&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;minx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;miny&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-130.516666&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxy&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;BoundingBox&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;CRS&lt;/SPAN&gt;="&lt;SPAN class=""&gt;EPSG:0&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;minx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-130.516666&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;miny&lt;/SPAN&gt;="&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxy&lt;/SPAN&gt;="&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Layer&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;queryable&lt;/SPAN&gt;="&lt;SPAN class=""&gt;1&lt;/SPAN&gt;"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;Name&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/Name&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Title&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;![CDATA[ Inches ]]&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/Title&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Abstract&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;![CDATA[ nws_nohrsc_snowWaterMos ]]&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/Abstract&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CRS:84&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EPSG:4326&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EPSG:0&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;EX_GeographicBoundingBox&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Jun 2017 22:04:07 GMT</pubDate>
    <dc:creator>DarleneBanta1</dc:creator>
    <dc:date>2017-06-15T22:04:07Z</dc:date>
    <item>
      <title>WMS Layers Not Displaying in Runtime Without Name</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wms-layers-not-displaying-in-runtime-without-name/m-p/382619#M4497</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How do I display the "root" layer in a WMS service using Runtime for .NET sdk? &amp;nbsp;This layer does not have a name property in the xml capabilities so I'm not sure how to specify it for the Layers property on the WmsLayer. &amp;nbsp;I can't seem to get any of the layers for this service to display.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tested with other services and they do seem to work when I specify the Layer's Name property, when every Layer in the WMS has a Name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink1" href="https://idpgis.ncep.noaa.gov/arcgis/services/NWS_Observations/NOHRSC_Snow_Analysis/MapServer/WmsServer?service=wms&amp;amp;request=GetCapabilities" title="https://idpgis.ncep.noaa.gov/arcgis/services/NWS_Observations/NOHRSC_Snow_Analysis/MapServer/WmsServer?service=wms&amp;amp;request=GetCapabilities"&gt;https://idpgis.ncep.noaa.gov/arcgis/services/NWS_Observations/NOHRSC_Snow_Analysis/MapServer/WmsServer?service=wms&amp;amp;request=GetCapabilities&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is an example xml:&lt;/P&gt;&lt;DIV class="" style="color: #000000; font-size: 13px;"&gt;&lt;SPAN class=""&gt;&amp;lt;Layer&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="color: #000000; font-size: 13px; margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Title&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;![CDATA[ Layers ]]&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/Title&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CRS:84&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EPSG:4326&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EPSG:0&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;EX_GeographicBoundingBox&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;westBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;-130.516667&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/westBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;eastBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/eastBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;southBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/southBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;northBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/northBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/EX_GeographicBoundingBox&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;BoundingBox&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;CRS&lt;/SPAN&gt;="&lt;SPAN class=""&gt;CRS:84&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;minx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-130.516667&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;miny&lt;/SPAN&gt;="&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxy&lt;/SPAN&gt;="&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;BoundingBox&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;CRS&lt;/SPAN&gt;="&lt;SPAN class=""&gt;EPSG:4326&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;minx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;miny&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-130.516667&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxy&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;BoundingBox&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;CRS&lt;/SPAN&gt;="&lt;SPAN class=""&gt;EPSG:0&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;minx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-130.516667&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;miny&lt;/SPAN&gt;="&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxy&lt;/SPAN&gt;="&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Layer&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;queryable&lt;/SPAN&gt;="&lt;SPAN class=""&gt;1&lt;/SPAN&gt;"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Title&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;![CDATA[ Snow Water Equivalent ]]&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/Title&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Abstract&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;![CDATA[ ]]&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/Abstract&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CRS:84&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EPSG:4326&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EPSG:0&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;EX_GeographicBoundingBox&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;westBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;-130.516666&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/westBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;eastBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/eastBoundLongitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;southBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/southBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;northBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/northBoundLatitude&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/EX_GeographicBoundingBox&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;BoundingBox&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;CRS&lt;/SPAN&gt;="&lt;SPAN class=""&gt;CRS:84&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;minx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-130.516666&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;miny&lt;/SPAN&gt;="&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxy&lt;/SPAN&gt;="&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;BoundingBox&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;CRS&lt;/SPAN&gt;="&lt;SPAN class=""&gt;EPSG:4326&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;minx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;miny&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-130.516666&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxy&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;BoundingBox&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;CRS&lt;/SPAN&gt;="&lt;SPAN class=""&gt;EPSG:0&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;minx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-130.516666&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;miny&lt;/SPAN&gt;="&lt;SPAN class=""&gt;24.100000&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxx&lt;/SPAN&gt;="&lt;SPAN class=""&gt;-62.252731&lt;/SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;maxy&lt;/SPAN&gt;="&lt;SPAN class=""&gt;58.240301&lt;/SPAN&gt;"&lt;/SPAN&gt;/&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Layer&lt;SPAN class=""&gt; &lt;SPAN class=""&gt;queryable&lt;/SPAN&gt;="&lt;SPAN class=""&gt;1&lt;/SPAN&gt;"&lt;/SPAN&gt;&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;Name&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;1&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/Name&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Title&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;![CDATA[ Inches ]]&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/Title&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;Abstract&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class="" style="margin-left: 1em;"&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;![CDATA[ nws_nohrsc_snowWaterMos ]]&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;/Abstract&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;CRS:84&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EPSG:4326&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&amp;lt;CRS&amp;gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;EPSG:0&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;/CRS&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;SPAN class=""&gt;&amp;lt;EX_GeographicBoundingBox&amp;gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Jun 2017 22:04:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wms-layers-not-displaying-in-runtime-without-name/m-p/382619#M4497</guid>
      <dc:creator>DarleneBanta1</dc:creator>
      <dc:date>2017-06-15T22:04:07Z</dc:date>
    </item>
    <item>
      <title>Re: WMS Layers Not Displaying in Runtime Without Name</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/wms-layers-not-displaying-in-runtime-without-name/m-p/382620#M4498</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Only named layers hold data in a WMS service. Unnamed layers are only used for logical grouping and metadata. The WMS specification&amp;nbsp;provides more details (section 7.2.4):&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Conceptually, each Layer is a distinct entity. However, as a means of classifying and organizing layers, and as a means of reducing the size of the service metadata, a single parent Layer may enclose any number of additional layers, which may be hierarchically nested as desired.&lt;/P&gt;&lt;P&gt;&amp;lt;...&amp;gt;&lt;/P&gt;&lt;P&gt;If, and only if, a layer has a &amp;lt;Name&amp;gt;, then it is a map layer that can be requested by using that Name in the LAYERS parameter of a GetMap request. A Layer that contains a &amp;lt;Name&amp;gt; element is referred to as a “named layer” in this International Standard. If the layer has a Title but no Name, then that layer is only a category title for all the layers nested within. A server that advertises a Layer containing a Name element shall be able to accept that Name as the value of LAYERS argument in a GetMap request and return the corresponding map. A client shall not attempt to request a layer that has a Title but no Name.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Runtime's WMSLayer takes a flattened list of named layers to display, ordered bottom-to-top.&amp;nbsp;For this particular service,&amp;nbsp;displaying the "root" layer just means creating a WMSLayer from names&amp;nbsp;"1", "2", "3", "5", "6", and "7".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For a more general solution, you can&amp;nbsp;examine WMSLayerInfo and gather all of its named sublayers recursively, like so:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;/// &amp;lt;summary&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;///&amp;nbsp;&amp;nbsp; Gathers a flat list of named layers for a given WMSLayerInfo, recursively.&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;/// &amp;lt;/summary&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;/// &amp;lt;param name="startingNode"&amp;gt;Parent node to begin the search at.&amp;lt;/param&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;/// &amp;lt;param name="collector"&amp;gt;A list to be populated with named WmsLayerInfo objects.&amp;lt;/param&amp;gt;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;void&lt;/SPAN&gt; &lt;SPAN class="token function"&gt;GetNamedLayers&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;WmsLayerInfo startingNode&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; List&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;WmsLayerInfo&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt; collector&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;if&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;!&lt;/SPAN&gt;String&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;IsNullOrEmpty&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;startingNode&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;Name&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;// Add this named layer to the list&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; collector&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;Add&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;startingNode&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;else&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="comment token"&gt;// For category layers: look for named children&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="keyword token"&gt;foreach&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; sublayer &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; startingNode&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;LayerInfos&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token function"&gt;GetNamedLayers&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;sublayer&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; collector&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example usage:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;&lt;SPAN class="comment token"&gt;// Load service metadata&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; serviceUrl &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;Uri&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=https%3A%2F%2Fidpgis.ncep.noaa.gov%2Farcgis%2Fservices%2FNWS_Observations%2FNOHRSC_Snow_Analysis%2FMapServer%2FWmsServer%3Fservice%3Dwms%26request%3DGetCapabilities" target="_blank"&gt;https://idpgis.ncep.noaa.gov/arcgis/services/NWS_Observations/NOHRSC_Snow_Analysis/MapServer/WmsServer?service=wms&amp;amp;request=GetCapabilities&lt;/A&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; service &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;WmsService&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;serviceUrl&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; service&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;LoadAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;// Gather a list of all named WMSLayerInfos on this service&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; list &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;List&lt;/SPAN&gt;&lt;SPAN class="operator token"&gt;&amp;lt;&lt;/SPAN&gt;WmsLayerInfo&lt;SPAN class="operator token"&gt;&amp;gt;&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;foreach&lt;/SPAN&gt; &lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; layerInfo &lt;SPAN class="keyword token"&gt;in&lt;/SPAN&gt; service&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;ServiceInfo&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;LayerInfos&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="token function"&gt;GetNamedLayers&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;layerInfo&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; list&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="punctuation token"&gt;}&lt;/SPAN&gt;

&lt;SPAN class="comment token"&gt;// Create a layer containing ALL named sublayers from this service, in order of declaration.&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;// Note: First layer in the list will be drawn first (at the bottom),&lt;/SPAN&gt;
&lt;SPAN class="comment token"&gt;// and last layer will be drawn last (on top of everything else).&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;var&lt;/SPAN&gt; layer &lt;SPAN class="operator token"&gt;=&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;new&lt;/SPAN&gt; &lt;SPAN class="token class-name"&gt;WmsLayer&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;list&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
&lt;SPAN class="keyword token"&gt;await&lt;/SPAN&gt; layer&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;LoadAsync&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍‍&lt;SPAN class="line-numbers-rows"&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;SPAN&gt;‍&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:37:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/wms-layers-not-displaying-in-runtime-without-name/m-p/382620#M4498</guid>
      <dc:creator>MatveiStefarov</dc:creator>
      <dc:date>2021-12-11T17:37:36Z</dc:date>
    </item>
  </channel>
</rss>

