<?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 Re: WMS Layer in TOC in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92510#M8403</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you add the WMS layer you point to the URL for the legend image:&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;// Typical usage&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;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  url&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// url to the service,&lt;/SPAN&gt;
  sublayers&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;
    name&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// name of the sublayer,&lt;/SPAN&gt;
    legendUrl&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// url to the legend&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="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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html" rel="nofollow noopener noreferrer" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 10 Dec 2021 23:32:44 GMT</pubDate>
    <dc:creator>deleted-user--MMnVrog9xw_</dc:creator>
    <dc:date>2021-12-10T23:32:44Z</dc:date>
    <item>
      <title>WMS Layer in TOC</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92509#M8402</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.esri.com/migrated-users/10699"&gt;Nianwei Liu&lt;/A&gt;‌. Good morning:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does your TOC support WMS Layer? How could I make the legend of its layers in a WMS Layer?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much and forgive for the inconvenience.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 10:00:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92509#M8402</guid>
      <dc:creator>AlbertoSantos_Cendrero</dc:creator>
      <dc:date>2019-05-07T10:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: WMS Layer in TOC</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92510#M8403</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;When you add the WMS layer you point to the URL for the legend image:&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;// Typical usage&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;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
  url&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// url to the service,&lt;/SPAN&gt;
  sublayers&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;
    name&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// name of the sublayer,&lt;/SPAN&gt;
    legendUrl&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="comment token"&gt;// url to the legend&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="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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html" rel="nofollow noopener noreferrer" target="_blank"&gt;https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 10 Dec 2021 23:32:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92510#M8403</guid>
      <dc:creator>deleted-user--MMnVrog9xw_</dc:creator>
      <dc:date>2021-12-10T23:32:44Z</dc:date>
    </item>
    <item>
      <title>Re: WMS Layer in TOC</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92511#M8404</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is an example of using a WMS layer with a Legend and a LayerList widget.&lt;/P&gt;&lt;P&gt;&lt;A href="https://codepen.io/noash/pen/eaNLjK"&gt;https://codepen.io/noash/pen/eaNLjK&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 May 2019 21:46:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92511#M8404</guid>
      <dc:creator>Noah-Sager</dc:creator>
      <dc:date>2019-05-07T21:46:11Z</dc:date>
    </item>
    <item>
      <title>Re: WMS Layer in TOC</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92512#M8405</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you very much for your answer.&lt;/P&gt;&lt;P&gt;And forgive for the inconvenience, but when I asked the question do not specify that it is for version 3.x&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2019 15:14:09 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92512#M8405</guid>
      <dc:creator>AlbertoSantos_Cendrero</dc:creator>
      <dc:date>2019-05-08T15:14:09Z</dc:date>
    </item>
    <item>
      <title>Re: WMS Layer in TOC</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92513#M8406</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;DIV class="" style="color: #777777; background-color: #ffffff; font-size: 16px;"&gt;&lt;DIV class="" style="background-color: #ffffff; padding-bottom: 56px;"&gt;&lt;DIV class=""&gt;&lt;DIV class="" style="background-color: #ffffff; padding: 20px 0px 0px;"&gt;&lt;DIV class=""&gt;&lt;DIV class="" style="font-size: 12px; margin-top: 12px; margin-right: 20px;"&gt;&lt;DIV class=""&gt;158/5000&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class=""&gt;&lt;DIV class="" data-tooltip="Selecciona un idioma para habilitar la entrada de voz" data-tooltip-align="t,c" style="color: #222222 !important; background: none transparent; border: none; font-weight: bold; text-decoration: none; font-size: 11px; margin: 4px 0px 0px 4px;"&gt;&lt;SPAN class="" style="margin: 6px 0px 0px 6px;"&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 class="" style="color: #777777; background-color: #f5f5f5; font-size: 16px;"&gt;&lt;DIV class=""&gt;&lt;DIV class="" style="background-color: #f5f5f5; padding: 20px 16px 56px 28px;"&gt;&lt;DIV class=""&gt;&lt;DIV class="" data-tooltip="Destacar traducción" data-tooltip-align="t,c" style="border: 1px solid transparent; font-weight: normal; font-size: 13px; margin-top: -7px; margin-right: -10px; padding: 9px;"&gt;&lt;DIV class="" style="margin-top: -3px;"&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class=""&gt;&lt;DIV class="" style="padding-right: 44px;"&gt;&lt;SPAN class="" lang="en" style="color: rgba(0, 0, 0, 0.87); font-size: 18px; padding-right: 8px;"&gt;&lt;SPAN title=""&gt;Thank you very much for your response but I'm not worth that option you indicate.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN class="" title=""&gt;In the application that I am working, I use the TOC.js developed by Nianwei Liu.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2019 15:17:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92513#M8406</guid>
      <dc:creator>AlbertoSantos_Cendrero</dc:creator>
      <dc:date>2019-05-08T15:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: WMS Layer in TOC</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92514#M8407</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Specifically, I use the dijit / TOC of this example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="http://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109" title="http://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109"&gt;http://www.arcgis.com/home/item.html?id=9b6280a6bfb0430f8d1ebc969276b109&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 May 2019 15:20:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-in-toc/m-p/92514#M8407</guid>
      <dc:creator>AlbertoSantos_Cendrero</dc:creator>
      <dc:date>2019-05-08T15:20:08Z</dc:date>
    </item>
  </channel>
</rss>

