<?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: Is there a way to capture when the latestObservation graphic is updated by the TemporalRenderer? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-capture-when-the/m-p/125196#M11653</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Helko!&amp;nbsp; The map time-extent-change event works yet if I slide the slider in reverse, I wouldn't get the updates to the table until I played the slider again.&amp;nbsp; So, I was able to get it working, yet not sure if it's the most efficient.&amp;nbsp; For the time-extent-change for the TimeSlider, I'm grabbing all the graphics that are visible with my feature layer and putting them into a key object based on my unique field... so the last one added to the object is the 'newest' graphic.&amp;nbsp; Then update those graphic attributes in my table.&amp;nbsp; Thanks for giving me the idea!&amp;nbsp; - Carisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Dec 2014 18:08:30 GMT</pubDate>
    <dc:creator>CarisaSmith</dc:creator>
    <dc:date>2014-12-11T18:08:30Z</dc:date>
    <item>
      <title>Is there a way to capture when the latestObservation graphic is updated by the TemporalRenderer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-capture-when-the/m-p/125194#M11651</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to capture when the latestObservation graphic is updated by the TemporalRenderer?&amp;nbsp; Using the TemporalRenderer with a FeatureLayer populated by a featureCollectionObject, can I capture the event when the latest graphic is updated on the map?&amp;nbsp; I would like to update a table with that graphic's latest attributes.&amp;nbsp; I can use the "graphic-draw" event, yet this only occurs if that graphic is visible in the current map extent and not all graphics that are being updated at that given time.&amp;nbsp; Plus, the "graphic-draw" event captures my historic graphics as well as the latest graphic.&amp;nbsp; The feature layer's "update-end" fires for each graphic also, yet how do you know which graphic was updated in that event?&amp;nbsp; The "graphic-add" does not help either, since all my graphics are loaded to the map at one time and then displayed via the TemporalRenderer.&amp;nbsp; Any ideas?&amp;nbsp; Thanks!&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 05:14:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-capture-when-the/m-p/125194#M11651</guid>
      <dc:creator>CarisaSmith</dc:creator>
      <dc:date>2014-12-10T05:14:59Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to capture when the latestObservation graphic is updated by the TemporalRenderer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-capture-when-the/m-p/125195#M11652</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One approach would be to check which graphics satisfy the current time extent in each &lt;CODE&gt;map.time-extent-change&lt;/CODE&gt; event and then extract the 'newest' graphic. If you then store a reference to this graphic and compare it each time this event fires you can figure out if the 'newest' graphic changed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 10 Dec 2014 17:07:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-capture-when-the/m-p/125195#M11652</guid>
      <dc:creator>HeikoHeijenga</dc:creator>
      <dc:date>2014-12-10T17:07:13Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to capture when the latestObservation graphic is updated by the TemporalRenderer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-capture-when-the/m-p/125196#M11653</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks, Helko!&amp;nbsp; The map time-extent-change event works yet if I slide the slider in reverse, I wouldn't get the updates to the table until I played the slider again.&amp;nbsp; So, I was able to get it working, yet not sure if it's the most efficient.&amp;nbsp; For the time-extent-change for the TimeSlider, I'm grabbing all the graphics that are visible with my feature layer and putting them into a key object based on my unique field... so the last one added to the object is the 'newest' graphic.&amp;nbsp; Then update those graphic attributes in my table.&amp;nbsp; Thanks for giving me the idea!&amp;nbsp; - Carisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Dec 2014 18:08:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-capture-when-the/m-p/125196#M11653</guid>
      <dc:creator>CarisaSmith</dc:creator>
      <dc:date>2014-12-11T18:08:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is there a way to capture when the latestObservation graphic is updated by the TemporalRenderer?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-capture-when-the/m-p/125197#M11654</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, Heiko!&amp;nbsp; Do you have a better idea on how to extract the 'newest' graphic without looping thru all the graphics and finding the last one?&amp;nbsp; If a user grabs data from the entire day, there can be more than 3k records.&amp;nbsp; This slows down on each time-extent-change if I'm looping thru that many records just to find the latest record for each ID.&amp;nbsp; My feature layer is created based on a feature collection object, so I'm unable to query the data based on the time field.&amp;nbsp; - Carisa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 07 May 2015 02:44:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/is-there-a-way-to-capture-when-the/m-p/125197#M11654</guid>
      <dc:creator>CarisaSmith</dc:creator>
      <dc:date>2015-05-07T02:44:50Z</dc:date>
    </item>
  </channel>
</rss>

