Limit Legend list to Visible features only

920
0
08-29-2016 10:42 AM
jayshukla
New Contributor III

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.

Jay

Map with legend

 

0 Replies