Can anyone help me build a expression for stylizing a feature based on 2 attributes. I have a yes / no attribute and a color attribute. If my yes / no attribute = no then I would like to color the symbol based on the color attribute. If my yes / no attribute = yes then I would like to enlarge the size and color the feature black.
-----------------------------------------
[
{ value: "yes", color: "#00C5FF", size: 15},
{ value: "no", color: "#BEE8FF", size: 8 }
]
--------------------------------------------------
I'm assuming somewhere after value: "no" I would enter in the other attribute name and values along with size and color I would like set.
Solved! Go to Solution.
Hey,
You will need to create an expression and then set the symbol size and colour based on the expression result.
Below are some blogs that provide some similar examples
https://www.arcgis.com/apps/Cascade/index.html?appid=3271f9b87c394c07b4a871257a5dc46b
Combining Arcade and HTML for a Real-life Pop-up Display
-Kelly
Hey,
You will need to create an expression and then set the symbol size and colour based on the expression result.
Below are some blogs that provide some similar examples
https://www.arcgis.com/apps/Cascade/index.html?appid=3271f9b87c394c07b4a871257a5dc46b
Combining Arcade and HTML for a Real-life Pop-up Display
-Kelly