<?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: Pop-up not enabled for layer not visible in web map in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-not-enabled-for-layer-not-visible-in-web/m-p/378671#M35148</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Archana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So you just took this sample and replaced the webmap id?&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/widget_layerlist_basic.html"&gt;https://developers.arcgis.com/javascript/3/jssamples/widget_layerlist_basic.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your webmap id? If you provide it I can do some testing for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 26 Apr 2019 13:05:59 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2019-04-26T13:05:59Z</dc:date>
    <item>
      <title>Pop-up not enabled for layer not visible in web map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-not-enabled-for-layer-not-visible-in-web/m-p/378670#M35147</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have an application built with 3.24 API based on a web map in Portal for ArcGIS. Some of the layers are not visible in the web map initially (parent group layer visible but not sub layer), but the pop-up has been configured and enabled for all layers. This works as expected within the Portal.&lt;/P&gt;&lt;P&gt;With a layer list widget configured to the web map, layer visibility is toggled within the application. For layers that were not visible within the web map, pop-up does not appear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a screenshot of a web map within the sample app for layer list. It shows the pop up for a layer that is set as visible within the web map.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="443770" class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/443770_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;When I toggle the other layer on and zoom-in, I still get the pop-up of previous layer.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="443773" class="image-2 jive-image" src="https://community.esri.com/legacyfs/online/443773_pastedImage_2.png" /&gt;&lt;/P&gt;&lt;P&gt;Even when I turn the layer's visibility off, I still don't get the pop-up of the now visible layer.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="443775" class="image-3 jive-image" src="https://community.esri.com/legacyfs/online/443775_pastedImage_3.png" /&gt;&lt;/P&gt;&lt;P&gt;Whereas in the web-map, once the pop-up seems to be working as expected. It shows both the layer's pop-up, but it considers all visible layers.&lt;/P&gt;&lt;P&gt;&lt;IMG __jive_id="443780" class="jive-image image-4" src="https://community.esri.com/legacyfs/online/443780_pastedImage_5.png" /&gt;&lt;/P&gt;&lt;P&gt;The screenshots are from a sample app that uses the 3.28 version of the API.&lt;/P&gt;&lt;P&gt;Is this a limitation of the API? Is there any way to enable the pop-up set in the web map when the layer visibility is toggled on?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Apr 2019 14:00:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-not-enabled-for-layer-not-visible-in-web/m-p/378670#M35147</guid>
      <dc:creator>ArchanaVenkataraman</dc:creator>
      <dc:date>2019-04-24T14:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Pop-up not enabled for layer not visible in web map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-not-enabled-for-layer-not-visible-in-web/m-p/378671#M35148</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Archana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; So you just took this sample and replaced the webmap id?&lt;/P&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/javascript/3/jssamples/widget_layerlist_basic.html"&gt;https://developers.arcgis.com/javascript/3/jssamples/widget_layerlist_basic.html&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is your webmap id? If you provide it I can do some testing for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2019 13:05:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-not-enabled-for-layer-not-visible-in-web/m-p/378671#M35148</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2019-04-26T13:05:59Z</dc:date>
    </item>
    <item>
      <title>Re: Pop-up not enabled for layer not visible in web map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-not-enabled-for-layer-not-visible-in-web/m-p/378672#M35149</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Robert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yes I used the sample and just changed the web map ID.&lt;/P&gt;&lt;P&gt;This is the link to the web map:&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://arcg.is/1fmqmu" title="https://arcg.is/1fmqmu"&gt;https://arcg.is/1fmqmu&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2019 13:58:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-not-enabled-for-layer-not-visible-in-web/m-p/378672#M35149</guid>
      <dc:creator>ArchanaVenkataraman</dc:creator>
      <dc:date>2019-04-26T13:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Pop-up not enabled for layer not visible in web map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-not-enabled-for-layer-not-visible-in-web/m-p/378673#M35150</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Archana,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;Then make this change to that sample:&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;CODE&gt;arcgisUtils&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;createMap&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="string token"&gt;"939c5b8285844d129ecb3aae29f02581"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt; &lt;SPAN class="string token"&gt;"map"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;usePopupManager&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; &lt;SPAN class="keyword token"&gt;true&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="token function"&gt;then&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="keyword token"&gt;function&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;response&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; myWidget &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;LayerList&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;{&lt;/SPAN&gt;
           map&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; response&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;map&lt;SPAN class="punctuation token"&gt;,&lt;/SPAN&gt;
           layers&lt;SPAN class="punctuation token"&gt;:&lt;/SPAN&gt; arcgisUtils&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;getLayerList&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;(&lt;/SPAN&gt;response&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="string token"&gt;"layerList"&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;)&lt;/SPAN&gt;&lt;SPAN class="punctuation token"&gt;;&lt;/SPAN&gt;
        myWidget&lt;SPAN class="punctuation token"&gt;.&lt;/SPAN&gt;&lt;SPAN class="token function"&gt;startup&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="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;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;The important part is&amp;nbsp;usePopupManager.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 17:29:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-not-enabled-for-layer-not-visible-in-web/m-p/378673#M35150</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2021-12-11T17:29:42Z</dc:date>
    </item>
    <item>
      <title>Re: Pop-up not enabled for layer not visible in web map</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-not-enabled-for-layer-not-visible-in-web/m-p/378674#M35151</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks a lot! That has been very helpful.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 26 Apr 2019 14:20:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/pop-up-not-enabled-for-layer-not-visible-in-web/m-p/378674#M35151</guid>
      <dc:creator>ArchanaVenkataraman</dc:creator>
      <dc:date>2019-04-26T14:20:24Z</dc:date>
    </item>
  </channel>
</rss>

