<?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 Map Refresh Issue Relating to TimeExtent in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-refresh-issue-relating-to-timeextent/m-p/458094#M42287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have JS code that loops through a series of layers in the Esri API.&amp;nbsp; I have the layers (ArcGISDynamicMapServices) setup with refreshinterval() so that they refresh.&amp;nbsp; The issue is that they do refresh, however the map keeps going back to the original (on load) start time.&amp;nbsp; Thus, if the map is loaded for 1 hour with a weather radar layer, it jumps from the initial time, to the current time at the refresh interval each time through the visibility loop.&amp;nbsp; Can anyone tell me why this is happening?&amp;nbsp; I thought that it would just show the most recent time frame for that particular layer.&amp;nbsp; When refreshinterval() is called on a layer, does it adjust the map timeExtent, or just pull in the layers most recent image?&amp;nbsp; And how does this work if you have two layers visible that have different timeExtents?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 07 May 2015 10:54:48 GMT</pubDate>
    <dc:creator>CharlesGant</dc:creator>
    <dc:date>2015-05-07T10:54:48Z</dc:date>
    <item>
      <title>Map Refresh Issue Relating to TimeExtent</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-refresh-issue-relating-to-timeextent/m-p/458094#M42287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have JS code that loops through a series of layers in the Esri API.&amp;nbsp; I have the layers (ArcGISDynamicMapServices) setup with refreshinterval() so that they refresh.&amp;nbsp; The issue is that they do refresh, however the map keeps going back to the original (on load) start time.&amp;nbsp; Thus, if the map is loaded for 1 hour with a weather radar layer, it jumps from the initial time, to the current time at the refresh interval each time through the visibility loop.&amp;nbsp; Can anyone tell me why this is happening?&amp;nbsp; I thought that it would just show the most recent time frame for that particular layer.&amp;nbsp; When refreshinterval() is called on a layer, does it adjust the map timeExtent, or just pull in the layers most recent image?&amp;nbsp; And how does this work if you have two layers visible that have different timeExtents?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 10:54:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/map-refresh-issue-relating-to-timeextent/m-p/458094#M42287</guid>
      <dc:creator>CharlesGant</dc:creator>
      <dc:date>2015-05-07T10:54:48Z</dc:date>
    </item>
  </channel>
</rss>

