Select to view content in your preferred language

Interactively select areas and assign fill color

138
3
Jump to solution
a week ago
Labels (1)
clt_cabq
Frequent Contributor

My end user wants a dashboard (or other app) where a selection of polygons can be made interactively and assigned one of 5 colors. Each 'color' would represent a potential larger administrative area, and they want to be able to play some 'what if' scenarios where they can pick smaller operational units that might be governed by the larger areas. For example, maybe in one scenario Admin Area 1 is comprised of operational units 1-10, 15 and 17, but then they want to see if assigning 17 to Admin Area 2 works better somehow. I think i can do something a little clunky using selectors but unsure if there might be a better way. Perhaps dashboard isn't the right way to approach this, any thoughts?

 

0 Kudos
1 Solution

Accepted Solutions
DavidSolari
MVP Regular Contributor

If it's a preset list of colors, make a feature service with a choice list field that's also the symbology field, and throw that in a web map (add Experience Builder on top if you want). If they need to define their own colors on the fly, take a look at attribute-driven color: this page should cover the basics and link to more details.

View solution in original post

3 Replies
DavidSolari
MVP Regular Contributor

If it's a preset list of colors, make a feature service with a choice list field that's also the symbology field, and throw that in a web map (add Experience Builder on top if you want). If they need to define their own colors on the fly, take a look at attribute-driven color: this page should cover the basics and link to more details.

clt_cabq
Frequent Contributor

Hey, thank you for that suggestion! I'll take a look and see how it works. It will be a predefined set of colors for 5 separate administrative areas. 

clt_cabq
Frequent Contributor

Ok, this is the best solution, I worked on a couple of different approaches but as usual I was trying to make things more complicated than needed. Still waiting to hear back from the end user to see if this will let them accomplish what they wanted. Appreciate the suggestion @DavidSolari !

0 Kudos