<?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: Limit popups to areas with features in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-popups-to-areas-with-features/m-p/152162#M14165</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Unfortunately this is just the work flow, as clicking on the map (behind the scenes) executes a Query to see if the clicked point on the map intersects with any feature that has a popup configured and if it does not intersect then the popup displays "No Information Available". Have you tried to take the hideDelay to 0 or 1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 01 Feb 2016 16:45:47 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2016-02-01T16:45:47Z</dc:date>
    <item>
      <title>Limit popups to areas with features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-popups-to-areas-with-features/m-p/152159#M14162</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Good morning,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My problem is very similar to the one described in&lt;A _jive_internal="true" href="https://community.esri.com/thread/165508?q=limit%20popup" target="_blank"&gt; this thread&lt;/A&gt;. The one real difference is that I've got multiple services that I'm pulling in instead of a single service. I've also already have set my InfoTemplates in a slightly different manner:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;var fishing = new ArcGISDynamicMapServiceLayer(fishingURL, fishingOptions);
&amp;nbsp;&amp;nbsp;&amp;nbsp; fishing.setInfoTemplates({
&amp;nbsp;&amp;nbsp;&amp;nbsp; 1: { infoTemplate: inshoreInfoTemplate },
&amp;nbsp;&amp;nbsp;&amp;nbsp; 2: { infoTemplate: offshoreInfoTemplate },
&amp;nbsp;&amp;nbsp;&amp;nbsp; 3: { infoTemplate: offshoreInfoTemplate },
&amp;nbsp;&amp;nbsp;&amp;nbsp; 4: { infoTemplate: navAidsInfoTemplate },
&amp;nbsp;&amp;nbsp;&amp;nbsp; 5: { infoTemplate: rampsInfoTemplate},
&amp;nbsp;&amp;nbsp;&amp;nbsp; 6: { infoTemplate: lakesInfoTemplate }
&amp;nbsp;&amp;nbsp;&amp;nbsp; });&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is creating an array the best way to go about turning the popups off in areas where there are no features, similar to what was suggested &lt;A _jive_internal="true" href="https://community.esri.com/message/327983#327983" target="_blank"&gt;here&lt;/A&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I also have a single service with two base layers that I don't have popups set for. Is there a way to force 'no popups' for those?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's &lt;A href="http://conservationgis.alabama.gov/TweakAndFinalize" rel="nofollow noopener noreferrer" target="_blank"&gt;a link&lt;/A&gt; to the live version of this map that I am finalizing. I still have things I'm working on like the placement for the draw and measure tools, so be aware it's not perfect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ashley&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 08:09:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-popups-to-areas-with-features/m-p/152159#M14162</guid>
      <dc:creator>AshleyPeters</dc:creator>
      <dc:date>2021-12-11T08:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Limit popups to areas with features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-popups-to-areas-with-features/m-p/152160#M14163</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; If you can set the maps infoWindow "visibleWhenEmpty" property to false and the hideDelay (which by default is 1 second) to something like 300 and then when you click on the map in an area that does not have data the infoWindow will disappear quickly. Short of that I don't have any idea how to disable the infoWindow for certain areas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 15:18:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-popups-to-areas-with-features/m-p/152160#M14163</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-01T15:18:06Z</dc:date>
    </item>
    <item>
      <title>Re: Limit popups to areas with features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-popups-to-areas-with-features/m-p/152161#M14164</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Robert. I had given that a try, but it basically flashes an empty popup on the screen. I find that more annoying than the popup that says 'No Information Available', so I'll probably end up leaving it as is. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:18:43 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-popups-to-areas-with-features/m-p/152161#M14164</guid>
      <dc:creator>AshleyPeters</dc:creator>
      <dc:date>2016-02-01T16:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Limit popups to areas with features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-popups-to-areas-with-features/m-p/152162#M14165</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ashley,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; Unfortunately this is just the work flow, as clicking on the map (behind the scenes) executes a Query to see if the clicked point on the map intersects with any feature that has a popup configured and if it does not intersect then the popup displays "No Information Available". Have you tried to take the hideDelay to 0 or 1?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:45:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-popups-to-areas-with-features/m-p/152162#M14165</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2016-02-01T16:45:47Z</dc:date>
    </item>
    <item>
      <title>Re: Limit popups to areas with features</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-popups-to-areas-with-features/m-p/152163#M14166</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, when I tried this as a possible solution last week, I set the hideDelay to 0. Instead of not appearing at all, the popup flashes onto the screen. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 01 Feb 2016 16:51:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/limit-popups-to-areas-with-features/m-p/152163#M14166</guid>
      <dc:creator>AshleyPeters</dc:creator>
      <dc:date>2016-02-01T16:51:46Z</dc:date>
    </item>
  </channel>
</rss>

