<?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 layer loading to the map event in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-loading-to-the-map-event/m-p/299672#M27487</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using ArcGIS javascript API 3.31 to load a WMS layer to a map. The WMS layer is hosted by a third party. It takes 7-10 seconds to load. I add a loading image to show the status of the layer loading. I would loading image to disappear when the WMS layer displays in the map. I have tried esri/layers/WMSLayer's "load" event and esri/map's "layer-add" or "layer-add-result" event. None of them work. Event fires before I can see the WMS map layer is added to the map. Can anybody tell what kind event I need?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 11 Feb 2020 21:58:24 GMT</pubDate>
    <dc:creator>HelenZhou</dc:creator>
    <dc:date>2020-02-11T21:58:24Z</dc:date>
    <item>
      <title>WMS layer loading to the map event</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-loading-to-the-map-event/m-p/299672#M27487</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;I am using ArcGIS javascript API 3.31 to load a WMS layer to a map. The WMS layer is hosted by a third party. It takes 7-10 seconds to load. I add a loading image to show the status of the layer loading. I would loading image to disappear when the WMS layer displays in the map. I have tried esri/layers/WMSLayer's "load" event and esri/map's "layer-add" or "layer-add-result" event. None of them work. Event fires before I can see the WMS map layer is added to the map. Can anybody tell what kind event I need?&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Helen&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 11 Feb 2020 21:58:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-loading-to-the-map-event/m-p/299672#M27487</guid>
      <dc:creator>HelenZhou</dc:creator>
      <dc:date>2020-02-11T21:58:24Z</dc:date>
    </item>
    <item>
      <title>Re: WMS layer loading to the map event</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-loading-to-the-map-event/m-p/299673#M27488</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You should listen to &lt;A href="https://developers.arcgis.com/javascript/3/jsapi/wmslayer-amd.html#event-update-end"&gt;WMSLayer.update-end&lt;/A&gt; event for this.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Feb 2020 15:59:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/wms-layer-loading-to-the-map-event/m-p/299673#M27488</guid>
      <dc:creator>UndralBatsukh</dc:creator>
      <dc:date>2020-02-12T15:59:01Z</dc:date>
    </item>
  </channel>
</rss>

