layer==null check.
layer==null check.

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