AnsweredAssumed Answered

Is there a way to capture when the latestObservation graphic is updated by the TemporalRenderer?

Question asked by carisasmith on Dec 9, 2014
Latest reply on May 6, 2015 by carisasmith

Is there a way to capture when the latestObservation graphic is updated by the TemporalRenderer?  Using the TemporalRenderer with a FeatureLayer populated by a featureCollectionObject, can I capture the event when the latest graphic is updated on the map?  I would like to update a table with that graphic's latest attributes.  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.  Plus, the "graphic-draw" event captures my historic graphics as well as the latest graphic.  The feature layer's "update-end" fires for each graphic also, yet how do you know which graphic was updated in that event?  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.  Any ideas?  Thanks! 

Outcomes