Dynamic Legend - ArcGIS JavaScript API

Idea created by kvenkatj on Sep 23, 2015
    Hi Team,

    I have received number of requests from customers that we need to implement dynamic legend on web maps to show the legend based on available features at current map extend for a given layer. For Example: if we have used unique value render for given layer where we have 64 different colors, we need to limit the legend for current features available in the map extent so that we can print the map on single page along with legend instead of going into multiple pages.

    Please let me know your thoughts.