AnsweredAssumed Answered

ArcGIS JS API: Heat-map based on dynamic sum of multiple fields

Question asked by hsong@air.org on Oct 18, 2019
Latest reply on Oct 18, 2019 by hsong@air.org

I have a service that gives a layer that has many fields. How do I use the JS API to dynamically display a heat-map with color based on the sum of two or more fields? It does not have to be strictly creating a new field on the fly if that's impossible, as long as I can display the color of polygon for each heat-map feature based on the sum of multiple fields for each feature.

 

Thanks.

 

Update: I am able to achieve the above using Arcade Expression and Renderers. 

Outcomes