The ability to have the legend in a map on AGOL be dependent on the extent or even as much as the location on the map. I have several projects that use a map that has data applied to the continental US. It would be helpful for the user to be able to zoom into an area and have items in the legend turn on/off. Then the ability if they decide to move around the map to have items in the legend turn on/off depending on the location would be cool.