AGOL Style Expression Based on 2 Attributes?

1289
1
Jump to solution
07-02-2018 04:01 PM
by Anonymous User
Not applicable

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.

0 Kudos
1 Solution
1 Reply