<?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: Customize Symbology Based on Time Slider for Time Frame in Map Advice Community Questions</title>
    <link>https://community.esri.com/t5/map-advice-community-questions/customize-symbology-based-on-time-slider-for-time/m-p/872979#M225</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #002060;"&gt;Unfortunately, there’s no way to access the map’s current time (from the time slider) in AGOL yet. We’re considering adding this in a future release of Arcade, which would make it available across the ArcGIS Platform. You would then be able to drive feature symbology based on the state of the map’s time slider.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #002060;"&gt;Thanks for posting the idea, Savannah!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #002060;"&gt;-Nathan.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 17 Jul 2019 22:30:31 GMT</pubDate>
    <dc:creator>NathanShephard</dc:creator>
    <dc:date>2019-07-17T22:30:31Z</dc:date>
    <item>
      <title>Customize Symbology Based on Time Slider for Time Frame</title>
      <link>https://community.esri.com/t5/map-advice-community-questions/customize-symbology-based-on-time-slider-for-time/m-p/872978#M224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;We have a feature service for gates that have fields for when the gates will be under construction and closed. There are 2 date fields, one for the start of the closure and one for the end of the closure.&amp;nbsp;Only a few gates are being upgraded so not all features have the field populated and they are not all closed for the same duration. For now I've been able to customize an expression solely based on the Now() function which is for the current time. We would like to be able to have the function based on when we have time enabled on the layer in AGOL so that as someone moves the temporal slider, if the time frame depicts when closures are, the color would change to show which points would be closed. Is this even possible?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is the current code which works, but only based on current time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;var started = $feature["Closure_Schedule_Start"]&lt;BR /&gt;var closed = $feature["Closure_Schedule_End"]&lt;BR /&gt;var present = Now()&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If (present &amp;gt;= started &amp;amp;&amp;amp; present &amp;lt;= closed) {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return "Closed"&lt;BR /&gt;} else {&lt;BR /&gt; &amp;nbsp;&amp;nbsp;&amp;nbsp;return "Open"&lt;BR /&gt;}&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, 17 Jul 2019 20:50:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/map-advice-community-questions/customize-symbology-based-on-time-slider-for-time/m-p/872978#M224</guid>
      <dc:creator>Anonymous User</dc:creator>
      <dc:date>2019-07-17T20:50:16Z</dc:date>
    </item>
    <item>
      <title>Re: Customize Symbology Based on Time Slider for Time Frame</title>
      <link>https://community.esri.com/t5/map-advice-community-questions/customize-symbology-based-on-time-slider-for-time/m-p/872979#M225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #002060;"&gt;Unfortunately, there’s no way to access the map’s current time (from the time slider) in AGOL yet. We’re considering adding this in a future release of Arcade, which would make it available across the ArcGIS Platform. You would then be able to drive feature symbology based on the state of the map’s time slider.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #002060;"&gt;Thanks for posting the idea, Savannah!&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #002060;"&gt;-Nathan.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Jul 2019 22:30:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/map-advice-community-questions/customize-symbology-based-on-time-slider-for-time/m-p/872979#M225</guid>
      <dc:creator>NathanShephard</dc:creator>
      <dc:date>2019-07-17T22:30:31Z</dc:date>
    </item>
  </channel>
</rss>

