<?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: Can definitionExpression be dynamically used with zoom scale/LOD ? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-definitionexpression-be-dynamically-used-with/m-p/430629#M39633</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;If you are asking about 4.x then just add a watch on the views &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#scale"&gt;scale &lt;/A&gt;property and change the layers def expr based on that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 01 Sep 2020 16:51:21 GMT</pubDate>
    <dc:creator>RobertScheitlin__GISP</dc:creator>
    <dc:date>2020-09-01T16:51:21Z</dc:date>
    <item>
      <title>Can definitionExpression be dynamically used with zoom scale/LOD ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-definitionexpression-be-dynamically-used-with/m-p/430628#M39632</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;Just a quick question in regards to layer's definitionExpression, have been searching for a little bit but haven't come across it.&amp;nbsp; Is there a way to display how many features gets to be rendered based on the zoom scale or LOD?&amp;nbsp; example; set definitionExpression = 'active' at the start of the map load 1:1,000,000, as users zoom in further to 1:500,000 definitionExpression in ('inactive','active'), and so on so forth.&amp;nbsp; TIA.!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2020 16:32:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-definitionexpression-be-dynamically-used-with/m-p/430628#M39632</guid>
      <dc:creator>victhomas</dc:creator>
      <dc:date>2020-09-01T16:32:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can definitionExpression be dynamically used with zoom scale/LOD ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-definitionexpression-be-dynamically-used-with/m-p/430629#M39633</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vic,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;nbsp;If you are asking about 4.x then just add a watch on the views &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-views-MapView.html#scale"&gt;scale &lt;/A&gt;property and change the layers def expr based on that.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2020 16:51:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-definitionexpression-be-dynamically-used-with/m-p/430629#M39633</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2020-09-01T16:51:21Z</dc:date>
    </item>
    <item>
      <title>Re: Can definitionExpression be dynamically used with zoom scale/LOD ?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-definitionexpression-be-dynamically-used-with/m-p/430630#M39634</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Vic,&lt;/P&gt;&lt;P&gt;Not sure whether you question was more from programing side or not. If the Q was about programming side, then you can skip the rest of my comment.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Otherwise, if you publish your data from ArcGIS Pro and as a map service (aka map image layer), you can use display filters - as the name suggests, unlike def queries this only affects drawing, but if you want to query/identify you can still do that on features that are not drawn&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://pro.arcgis.com/en/pro-app/help/mapping/layer-properties/display-filters.htm" title="https://pro.arcgis.com/en/pro-app/help/mapping/layer-properties/display-filters.htm"&gt;Use display filters—ArcGIS Pro | Documentation&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please let me know if you have any question.&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;Tanu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 01 Sep 2020 17:00:17 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/can-definitionexpression-be-dynamically-used-with/m-p/430630#M39634</guid>
      <dc:creator>TanuHoque</dc:creator>
      <dc:date>2020-09-01T17:00:17Z</dc:date>
    </item>
  </channel>
</rss>

