removeLegendControl

Removes the currently installed legend control and clears any associated observers.