<?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 Visualization based on current extent in ArcGIS Server with JavaScript API Questions</title>
    <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/visualization-based-on-current-extent/m-p/882327#M736</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a web app based on JS API. I want to display my map based on the current extent, without loading any map that is not within the extent. For exampe, if i zoom to a county, then only the data in this county is displayed. When i pan to a neighbouring county (or another county), this county will be loaded and the previous county is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieive this ? It seems that by default, the JS API already doing this. Because, during my observation, when I zoom in into a county and then move into a different county, the layer on my screen is drawing that new county within the extent. I just cant differentiate wether the new county is freshly drawn (which is what i intended) or its just the vga trying to redraw what has previously been drawn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked into this&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/samples/map_currentextent/" title="https://developers.arcgis.com/javascript/3/samples/map_currentextent/"&gt;Create Map&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/66568/restricting-base-map-on-specific-extent-in-arcgis-api-for-javascript-3" title="https://gis.stackexchange.com/questions/66568/restricting-base-map-on-specific-extent-in-arcgis-api-for-javascript-3"&gt;Restricting base map on specific extent in ArcGIS API for JavaScript 3? - Geographic Information Systems Stack Exchange&lt;/A&gt;&amp;nbsp;&amp;nbsp;but i am not sure if these are what i want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using JS API 4.11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 26 Feb 2020 05:34:51 GMT</pubDate>
    <dc:creator>yockee</dc:creator>
    <dc:date>2020-02-26T05:34:51Z</dc:date>
    <item>
      <title>Visualization based on current extent</title>
      <link>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/visualization-based-on-current-extent/m-p/882327#M736</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a web app based on JS API. I want to display my map based on the current extent, without loading any map that is not within the extent. For exampe, if i zoom to a county, then only the data in this county is displayed. When i pan to a neighbouring county (or another county), this county will be loaded and the previous county is not.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How can I achieive this ? It seems that by default, the JS API already doing this. Because, during my observation, when I zoom in into a county and then move into a different county, the layer on my screen is drawing that new county within the extent. I just cant differentiate wether the new county is freshly drawn (which is what i intended) or its just the vga trying to redraw what has previously been drawn.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have looked into this&amp;nbsp;&lt;A class="link-titled" href="https://developers.arcgis.com/javascript/3/samples/map_currentextent/" title="https://developers.arcgis.com/javascript/3/samples/map_currentextent/"&gt;Create Map&lt;/A&gt;&amp;nbsp;and&amp;nbsp;&lt;A class="link-titled" href="https://gis.stackexchange.com/questions/66568/restricting-base-map-on-specific-extent-in-arcgis-api-for-javascript-3" title="https://gis.stackexchange.com/questions/66568/restricting-base-map-on-specific-extent-in-arcgis-api-for-javascript-3"&gt;Restricting base map on specific extent in ArcGIS API for JavaScript 3? - Geographic Information Systems Stack Exchange&lt;/A&gt;&amp;nbsp;&amp;nbsp;but i am not sure if these are what i want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using JS API 4.11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 26 Feb 2020 05:34:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-server-with-javascript-api-questions/visualization-based-on-current-extent/m-p/882327#M736</guid>
      <dc:creator>yockee</dc:creator>
      <dc:date>2020-02-26T05:34:51Z</dc:date>
    </item>
  </channel>
</rss>

