Hi Folks, I am trying to implement Legend widget and looking to add some custom behavior to this widget. I want to limit the legend to only show legend for the items that are in the visible on the map. In the example below, for the current extent, legend should only show Lagoon as part in the Legend list. I wanted to know if legend widget can be modified to implement this behavior.
Thanks in advance.