<?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: HELP! Making a Feature Layer invisible when zoomed into Area of Interest in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-making-a-feature-layer-invisible-when-zoomed/m-p/139925#M13001</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; When you say area of interest you mean a certain extent right? If this is the case then you need to attach an event to the maps extent-change event and determine if your AOI &lt;A href="https://developers.arcgis.com/javascript/jsapi/extent-amd.html#intersects"&gt;extent intersects&lt;/A&gt; the maps extent (or &lt;A href="https://developers.arcgis.com/javascript/jsapi/extent-amd.html#contains"&gt;contains&lt;/A&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 23 Jul 2015 02:37:55 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2015-07-23T02:37:55Z</dc:date>
    <item>
      <title>HELP! Making a Feature Layer invisible when zoomed into Area of Interest</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-making-a-feature-layer-invisible-when-zoomed/m-p/139924#M13000</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;How do I set the feature layer to disappear when zoomed into an Area of Interest?&amp;nbsp; Any help is appreciated, references,or documents. Thanks!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN&gt;var featureLayerParks = new FeatureLayer("&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http://services.arcgis.com/HYLRafMc4Ux6DA8c/arcgis/rest/services/Parks_Search/FeatureServer/1" target="_blank"&gt;http://services.arcgis.com/HYLRafMc4Ux6DA8c/arcgis/rest/services/Parks_Search/FeatureServer/1&lt;/A&gt;&lt;SPAN&gt;", {&lt;/SPAN&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; mode: FeatureLayer.MODE_ONDEMAND,
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; visible: FeatureLayer.isVisibleAtMapScale=true&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 07:43:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-making-a-feature-layer-invisible-when-zoomed/m-p/139924#M13000</guid>
      <dc:creator>JamesFitzgerald</dc:creator>
      <dc:date>2021-12-11T07:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: HELP! Making a Feature Layer invisible when zoomed into Area of Interest</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-making-a-feature-layer-invisible-when-zoomed/m-p/139925#M13001</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;James,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; When you say area of interest you mean a certain extent right? If this is the case then you need to attach an event to the maps extent-change event and determine if your AOI &lt;A href="https://developers.arcgis.com/javascript/jsapi/extent-amd.html#intersects"&gt;extent intersects&lt;/A&gt; the maps extent (or &lt;A href="https://developers.arcgis.com/javascript/jsapi/extent-amd.html#contains"&gt;contains&lt;/A&gt;).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Jul 2015 02:37:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/help-making-a-feature-layer-invisible-when-zoomed/m-p/139925#M13001</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2015-07-23T02:37:55Z</dc:date>
    </item>
  </channel>
</rss>

