<?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: Using pop-up windows with time aware layers for identify in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/using-pop-up-windows-with-time-aware-layers-for/m-p/599933#M17921</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Nicole,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't actually find out what the problem was, but the way I solved it was by using Robert Scheitlin's &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=39cf66d58c234279ba728c50461a1a89" rel="nofollow noopener noreferrer" target="_blank"&gt;Identify Widget&lt;/A&gt;&lt;SPAN&gt; with small additions to the identifyFeatures method in IdentifyWidget.mxml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if (map.timeExtent != null)
 identifyParams.timeExtent = new TimeExtent(map.timeExtent.endTime, map.timeExtent.endTime);&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In our case I only needed to show data from the exact instant chosen on the time slider, not a time span, that's why I used only the time slider end time for creating a new time extent for the identify parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might also want to play a bit with timezones in the map document and service, because for a while we had an issue with UTC and local timezone differences - unfortunately, I don't have the map service anymore to check how exactly we got over that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kristel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Dec 2021 01:44:18 GMT</pubDate>
    <dc:creator>KristelMeikas</dc:creator>
    <dc:date>2021-12-12T01:44:18Z</dc:date>
    <item>
      <title>Using pop-up windows with time aware layers for identify</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/using-pop-up-windows-with-time-aware-layers-for/m-p/599931#M17919</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have an application with several time aware layers for which I need to enable identify functionality. Has anyone else tried using pop-up windows with TimeWidget and got the correct behaviour - by correct I mean that identifiable features depend on the time "selected" in the TimeWidget?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Currently I always seem to get a pop-up for the earliest data for a feature (features in the layer cover the whole subject area as a grid of polygons based on measurement data received at specified intervals). I'm guessing that (if there isn't a solution built in which I haven't found) I should dynamically add a definition expression to the identify task at runtime based on the time selected in TimeWidget? But what about when TimeWidget is closed - how do I determine which hour to show results for? Or is there another better solution to this issue?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kristel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2011 06:30:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/using-pop-up-windows-with-time-aware-layers-for/m-p/599931#M17919</guid>
      <dc:creator>KristelMeikas</dc:creator>
      <dc:date>2011-05-26T06:30:21Z</dc:date>
    </item>
    <item>
      <title>Re: Using pop-up windows with time aware layers for identify</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/using-pop-up-windows-with-time-aware-layers-for/m-p/599932#M17920</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kristel&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Have you resolved your problem, and if yes, what was the problem? It looks like I have the same problem in my application. I set the first date of the time parameter to a certain date, but the feature I get back was valid much earlier, and not valid at this date. I am calling the Identify Task programmatically, and I am not using the time slider. Some of my layers are time-aware, others aren't.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bye, Nicole&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Aug 2011 18:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/using-pop-up-windows-with-time-aware-layers-for/m-p/599932#M17920</guid>
      <dc:creator>NicoleSulzberger</dc:creator>
      <dc:date>2011-08-17T18:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Using pop-up windows with time aware layers for identify</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/using-pop-up-windows-with-time-aware-layers-for/m-p/599933#M17921</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Nicole,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I didn't actually find out what the problem was, but the way I solved it was by using Robert Scheitlin's &lt;/SPAN&gt;&lt;A href="http://www.arcgis.com/home/item.html?id=39cf66d58c234279ba728c50461a1a89" rel="nofollow noopener noreferrer" target="_blank"&gt;Identify Widget&lt;/A&gt;&lt;SPAN&gt; with small additions to the identifyFeatures method in IdentifyWidget.mxml:&lt;/SPAN&gt;&lt;BR /&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;if (map.timeExtent != null)
 identifyParams.timeExtent = new TimeExtent(map.timeExtent.endTime, map.timeExtent.endTime);&lt;/PRE&gt;&lt;BR /&gt;&lt;SPAN&gt;In our case I only needed to show data from the exact instant chosen on the time slider, not a time span, that's why I used only the time slider end time for creating a new time extent for the identify parameters.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You might also want to play a bit with timezones in the map document and service, because for a while we had an issue with UTC and local timezone differences - unfortunately, I don't have the map service anymore to check how exactly we got over that.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Hope that helps,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kristel&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Dec 2021 01:44:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/using-pop-up-windows-with-time-aware-layers-for/m-p/599933#M17921</guid>
      <dc:creator>KristelMeikas</dc:creator>
      <dc:date>2021-12-12T01:44:18Z</dc:date>
    </item>
    <item>
      <title>Re: Using pop-up windows with time aware layers for identify</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/using-pop-up-windows-with-time-aware-layers-for/m-p/599934#M17922</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Kristel&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you very much for your response. We are only using a tim3 and not a time extent, so we'll try to set both times of the extent instead of just one, maybe that will help.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;bye, Nicole&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 05:18:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/using-pop-up-windows-with-time-aware-layers-for/m-p/599934#M17922</guid>
      <dc:creator>NicoleSulzberger</dc:creator>
      <dc:date>2011-08-29T05:18:02Z</dc:date>
    </item>
  </channel>
</rss>

