Esri / solutions-components

A collection of UI components for constructing webapps.
Apache License 2.0
11 stars 5 forks source link

Display symbology in the layer list #738

Open skrishn opened 1 month ago

skrishn commented 1 month ago

Describe requirements

From customer (Department of Transportation and Mobility from City of Tucson, AZ) "Can symbology be placed in the layer list as opposed to having it separately located in the legend? The images used to appear on the older version of the citizen problem reporter solution. "

image

Another user requested this enhancement from Douglas county too.

skrishn commented 1 month ago

@sumitzarkar We'll have an internal discussion and get you designs if this goes in this release.

sumitzarkar commented 1 month ago

@skrishn

chris-fox commented 1 month ago

I received the same feedback at the user conference. They were not interested in the symbology at the feature level. They wanted the symbols at the layer level. There is not a web map property to support this. We might need an app configuration that would allow us to add an image per layer in the web map.

skrishn commented 1 month ago

They're adding this option at the config level https://devtopia.esri.com/WebGIS/arcgis-portal-app-templates/issues/10377

sumitzarkar commented 1 month ago

@skrishn

Please let us know your thoughts on this

skrishn commented 1 month ago

@sumitzarkar Implement to display feature symbology as done in Nearme.

skrishn commented 1 month ago

@sumitzarkar it would be the toggle option in the config, when turned on we'd display feature symbology for all the layers. By default, it's turned off. I'll update you when its added to the config.