<?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 Updating a layer's timeInfo at runtime in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-a-layer-s-timeinfo-at-runtime/m-p/1235458#M79459</link>
    <description>&lt;P&gt;I'm building an application with ArcGIS JS 4.22 that displays two time-aware services: An ArcGIS Feature Service and a WMS.&lt;/P&gt;&lt;P&gt;On both services the available time extent changes every 5 to 15 minutes as data is updated regularly on these services (and the service metadata and capabilities reflect that), but I cannot find a way to get this in my application and update these layer's &lt;FONT face="courier new,courier"&gt;timeInfo&lt;/FONT&gt; properties accordingly. I would need this information to trigger some updates and rebuild the timeslider.&lt;/P&gt;&lt;P&gt;Is there a built-in way to refetch the metadata and update time extents/time info in some way?&lt;/P&gt;&lt;P&gt;The only info I could find was this sentence from the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html#timeInfo" target="_blank" rel="noopener"&gt;WMSLayer documentation&lt;/A&gt; (and similarly on other Layer's docs), which makes me believe it's currently not possible:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;The fullTimeExtent for timeInfo is automatically set to the union of all time dimension extents. The timeInfo parameters cannot be changed after the layer is loaded.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
    <pubDate>Mon, 28 Nov 2022 16:47:56 GMT</pubDate>
    <dc:creator>ChristophK</dc:creator>
    <dc:date>2022-11-28T16:47:56Z</dc:date>
    <item>
      <title>Updating a layer's timeInfo at runtime</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-a-layer-s-timeinfo-at-runtime/m-p/1235458#M79459</link>
      <description>&lt;P&gt;I'm building an application with ArcGIS JS 4.22 that displays two time-aware services: An ArcGIS Feature Service and a WMS.&lt;/P&gt;&lt;P&gt;On both services the available time extent changes every 5 to 15 minutes as data is updated regularly on these services (and the service metadata and capabilities reflect that), but I cannot find a way to get this in my application and update these layer's &lt;FONT face="courier new,courier"&gt;timeInfo&lt;/FONT&gt; properties accordingly. I would need this information to trigger some updates and rebuild the timeslider.&lt;/P&gt;&lt;P&gt;Is there a built-in way to refetch the metadata and update time extents/time info in some way?&lt;/P&gt;&lt;P&gt;The only info I could find was this sentence from the &lt;A href="https://developers.arcgis.com/javascript/latest/api-reference/esri-layers-WMSLayer.html#timeInfo" target="_blank" rel="noopener"&gt;WMSLayer documentation&lt;/A&gt; (and similarly on other Layer's docs), which makes me believe it's currently not possible:&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;P&gt;The fullTimeExtent for timeInfo is automatically set to the union of all time dimension extents. The timeInfo parameters cannot be changed after the layer is loaded.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;</description>
      <pubDate>Mon, 28 Nov 2022 16:47:56 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/updating-a-layer-s-timeinfo-at-runtime/m-p/1235458#M79459</guid>
      <dc:creator>ChristophK</dc:creator>
      <dc:date>2022-11-28T16:47:56Z</dc:date>
    </item>
  </channel>
</rss>

