AnsweredAssumed Answered

Show in another color new features on layer

Question asked by endlessdsire on May 12, 2017
Latest reply on May 17, 2017 by endlessdsire

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.on("update-start",(us)=>{
console.log("is refreshing to show me updates?",us);
});

 

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?


Outcomes