Fix for legend component. Legends are removed when layer is not visible.
Fix for legend component. Legends are removed when layer is not visible.

flamingo-geocms/flamingo,B3Partners/flamingo,flamingo-geocms/flamingo,mvdstruijk/flamingo,flamingo-geocms/flamingo,B3Partners/flamingo,mvdstruijk/flamingo,B3Partners/flamingo,mvdstruijk/flamingo,flamingo-geocms/flamingo,B3Partners/flamingo,mvdstruijk/flamingo