Hello, i want to know if there is a way to show (in another color) new features on a layer that is being updated.
So far i have found in the API for JS a event in the Dynamic and Feature Layer
myDynamicMapServiceLayer<SPAN class="punctuation token">.</SPAN><SPAN class="token function">on</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"update-start"</SPAN><SPAN class="punctuation token">,</SPAN><SPAN class="punctuation token">(</SPAN>us<SPAN class="punctuation token">)</SPAN><SPAN class="operator token">=</SPAN><SPAN class="operator token">></SPAN><SPAN class="punctuation token">{</SPAN>
console<SPAN class="punctuation token">.</SPAN><SPAN class="token function">log</SPAN><SPAN class="punctuation token">(</SPAN><SPAN class="string token">"is refreshing to show me updates?"</SPAN><SPAN class="punctuation token">,</SPAN>us<SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN>
<SPAN class="punctuation token">}</SPAN><SPAN class="punctuation token">)</SPAN><SPAN class="punctuation token">;</SPAN><SPAN class="line-numbers-rows"><SPAN></SPAN><SPAN></SPAN><SPAN></SPAN></SPAN>For example, once i have been added the feature layer or dynamic service (in my case is a dynamic one) i want to put all the features that im showing in a certain color (lets say blue and they are 100 at the beginning).
Afterwards, i want to put a glow on the one that are new in the place where they appear. Or have them as a data in a new table.
Is there a way to do that?