Select to view content in your preferred language

Change Layer Colors in Map Widget for Infographic

222
1
10-16-2025 10:16 AM
Teresa_Blader
Frequent Contributor

Hi! I'm wondering how do I change the color of the layer when I bring it into a map widget? I searched in all the properties in BA, I changed the Symbol field JSON for the layer in AGOL: 

{"type":"esriSFS","color":[0,0,139,150],"outline":{"type":"esriSLS","color":[0,0,0,255],"width":1,"style":"esriSLSSolid"},"style":"esriSFSSolid"}

I checked the visualization on the layer I want to pull in which is public. I created a public view for it where I set visualization. No matter what I do, I can't get it to stop being green. And only one color.

None of this impacts the color of the layer when bringing a layer into the Map widget. 

And really ultimately what I want is the selected area used for the infographic to be highlighted so it's really obvious that the infographic stats are based on that area - but there doesn't seem to be a way to add a trigger from a map click to transfer that to the BA widget (in ExB). Like it runs the infographic, but doesn't highlight the feature selected in the BA widget - it just pans and zooms.

Teresa_Blader_0-1760634480089.png

Teresa_Blader_1-1760634561416.png

Teresa_Blader_2-1760634936610.png

 

 

Teresa Blader
Olmsted County GIS
GIS Analyst - GIS Solutions
0 Kudos
1 Reply
FasilTiru
Esri Regular Contributor

Hi @Teresa_Blader 

The BA widget in ExB is designed to respect the default style of the layer you select from the map. My recommendation is to simply not have the layer in the map element when building the infographics. Instead, remove the layer from the infographics here and save the template:

FasilTiru_1-1767730826033.png

And when you run the infographics in the BA widget by selecting a feature on the map, that feature is automatically added to the infographics for you as follows: 

FasilTiru_0-1767730618612.png

Notice only the selected feature is included in the infographics. I hope this helps.

Fasil T.

BA Team

0 Kudos