Fixed reload of legends when clicking on layer group
Merge pull request #49 from lat-lon/legendReload-779

Fixed reload of legends when clicking on layer group