Toggle Legend On and Off

Discussion created by micpar1975 on Jan 8, 2014
Latest reply on Mar 11, 2014 by hayekk
I have created a map with two layers through ArcGIS Online.  They are the same layer and data points as I copied the layer. 
The first layer I used Unique Symbols for one variable A, and the second layer Unique Symbols for variable B.

However when I save and share the map and display the legend there is no option to toggle the legend layers on or off, so only the top layer is visible on the map, but both layers are displayed in the legend.

Is there an easy way to allow for each legend entry to be toggled on and off or would some custom coding be required?