AnsweredAssumed Answered

Dynamically hide features from web map

Question asked by mjia on Nov 23, 2015
Latest reply on Nov 24, 2015 by mjia

Hi,

 

I am trying to implement this function with ArcGIS Server JavaScript API:

 

I have a web map created by ArcGIS Online (or a web map created on the fly using JSON). Within the web map, I have a point feature layer (or MapServer layer). Initially the entire layer is shown on the map.

 

Now I am receiving a list of feature IDs received from another server, and I need to hide those points with the feature IDs on the map whilst maintaining the visibility of other points.

 

I am receiving the lists of feature IDs every 5 mins. Once a new set of IDs is received, I need to make the corresponding point invisible. If a previously hidden point is not included in the new list, they need to be turned back on again on the map.

 

Any ideas on how to implement this?

 

Thank you!!

 

Eric

Outcomes