I would like to have the layer attributes show up in a legend instead of the pop ups. Is there documentation on how to do this? Can this be done using WebMap and the api?
I would like to have the layer attributes show up in a legend
Precisely meaning the pop up attributes.
Example: A user clicks on a location on a map that shows groundwater areas. If where they click falls in a groundwater area, a sentence comes up in the LEGEND (as opposed to the pop-up) saying 'this area lies in a groundwater area'
All I can get the legend to do at the moment is show a color or colors of an attribute without actually showing data for the area clicked. Hope that makes sense.
So you are wanting to add some text to the Legend Widgets Layer?
Retrieving data ...