Esri / arcade-expressions

ArcGIS Arcade expression templates for all supported profiles in the ArcGIS platform.
Apache License 2.0
272 stars 95 forks source link

Colored box mapping a severity/risk index #82

Open hhkaos opened 11 months ago

hhkaos commented 11 months ago

Check existing issues

Execution profile

Popup

Is your feature request related to a problem? Please describe.

I would like to provide visual context using a colored box that maps a severity/risk index of my data.

Describe the solution you'd like

Based on given ranges of values, I want to be able to map these to different colors to build a popup like this:

MicrosoftTeams-image (63)

Describe alternatives you've considered

Add an extra column in my layer with static calculated fields, and write custom code in each of my apps.

Additional context

This demo and this web map provides an example