<?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: Adding WMS layer to WAB Custom Widget in Web AppBuilder Custom Widgets Questions</title>
    <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/adding-wms-layer-to-wab-custom-widget/m-p/801712#M5230</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to share these references that I have found&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://github.com/vojvod/CMV_addWMSLayer_Widget/blob/master/js/gis/dijit/WMSLayer2.js" title="https://github.com/vojvod/CMV_addWMSLayer_Widget/blob/master/js/gis/dijit/WMSLayer2.js"&gt;https://github.com/vojvod/CMV_addWMSLayer_Widget/blob/master/js/gis/dijit/WMSLayer2.js&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jivelink13" href="https://community.esri.com/thread/247601-load-a-wms-map-service-to-map" title="https://community.esri.com/message/906115-load-a-wms-map-service-to-map"&gt;https://community.esri.com/message/906115-load-a-wms-map-service-to-map&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still working on that, any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Oct 2020 19:46:22 GMT</pubDate>
    <dc:creator>GerardMartin</dc:creator>
    <dc:date>2020-10-13T19:46:22Z</dc:date>
    <item>
      <title>Adding WMS layer to WAB Custom Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/adding-wms-layer-to-wab-custom-widget/m-p/801711#M5229</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have develop 2D Custom Widget, and I would like to add a new layer from&amp;nbsp;WMS Service (no ESRI).&lt;/P&gt;&lt;P&gt;More precisely, I would like to use one of layers of this WMS Service:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A class="jivelink1" href="http://geoserveis.icgc.cat/icc_mapesbase/wms/service?service=wms&amp;amp;version=1.1.1&amp;amp;request=GetCapabilities" title="http://geoserveis.icgc.cat/icc_mapesbase/wms/service?service=wms&amp;amp;version=1.1.1&amp;amp;request=GetCapabilities"&gt;http://geoserveis.icgc.cat/icc_mapesbase/wms/service?service=wms&amp;amp;version=1.1.1&amp;amp;request=GetCapabilities&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, I include the following code in widget.js without any result.&lt;/P&gt;&lt;P&gt;How can I add a new wms layer to this.map when execute widget ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;DIV style="color: #d4d4d4; background-color: #1e1e1e; font-weight: normal; font-size: 14px;"&gt;&lt;DIV&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;wmsLayer&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;=&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;new&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;WMSLayer&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;({&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;url&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"http://geoserveis.icgc.cat/icc_mapesbase/wms/service"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;sublayers&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;[{&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;name&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;:&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #ce9178;"&gt;"mtc5m"&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;}]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;});&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;map&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #dcdcaa;"&gt;addLayer&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #569cd6;"&gt;this&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;.&lt;/SPAN&gt;&lt;SPAN style="color: #9cdcfe;"&gt;wmsLayer&lt;/SPAN&gt;&lt;SPAN style="color: #d4d4d4;"&gt;);&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN style="color: #d4d4d4;"&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2020 12:16:38 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/adding-wms-layer-to-wab-custom-widget/m-p/801711#M5229</guid>
      <dc:creator>GerardMartin</dc:creator>
      <dc:date>2020-10-13T12:16:38Z</dc:date>
    </item>
    <item>
      <title>Re: Adding WMS layer to WAB Custom Widget</title>
      <link>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/adding-wms-layer-to-wab-custom-widget/m-p/801712#M5230</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I would like to share these references that I have found&lt;/P&gt;&lt;P&gt;&lt;A class="link-bare" href="https://github.com/vojvod/CMV_addWMSLayer_Widget/blob/master/js/gis/dijit/WMSLayer2.js" title="https://github.com/vojvod/CMV_addWMSLayer_Widget/blob/master/js/gis/dijit/WMSLayer2.js"&gt;https://github.com/vojvod/CMV_addWMSLayer_Widget/blob/master/js/gis/dijit/WMSLayer2.js&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" class="jivelink13" href="https://community.esri.com/thread/247601-load-a-wms-map-service-to-map" title="https://community.esri.com/message/906115-load-a-wms-map-service-to-map"&gt;https://community.esri.com/message/906115-load-a-wms-map-service-to-map&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm still working on that, any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Oct 2020 19:46:22 GMT</pubDate>
      <guid>https://community.esri.com/t5/web-appbuilder-custom-widgets-questions/adding-wms-layer-to-wab-custom-widget/m-p/801712#M5230</guid>
      <dc:creator>GerardMartin</dc:creator>
      <dc:date>2020-10-13T19:46:22Z</dc:date>
    </item>
  </channel>
</rss>

