Handle layer removal on shared containers

This commit is contained in:
ahocevar
2019-06-02 13:45:11 +02:00
parent 05d8517686
commit 6123be726a
7 changed files with 48 additions and 1 deletions

View File

@@ -39,6 +39,7 @@ describe('ol.layer.Group', function() {
opacity: 1,
visible: true,
managed: true,
hasOverlay: false,
sourceState: 'ready',
extent: undefined,
zIndex: 0,
@@ -158,6 +159,7 @@ describe('ol.layer.Group', function() {
opacity: 0.5,
visible: false,
managed: true,
hasOverlay: false,
sourceState: 'ready',
extent: undefined,
zIndex: 10,
@@ -199,6 +201,7 @@ describe('ol.layer.Group', function() {
opacity: 0.5,
visible: false,
managed: true,
hasOverlay: false,
sourceState: 'ready',
extent: groupExtent,
zIndex: 0,
@@ -239,6 +242,7 @@ describe('ol.layer.Group', function() {
opacity: 0.3,
visible: false,
managed: true,
hasOverlay: false,
sourceState: 'ready',
extent: groupExtent,
zIndex: 10,
@@ -255,6 +259,7 @@ describe('ol.layer.Group', function() {
opacity: 0,
visible: false,
managed: true,
hasOverlay: false,
sourceState: 'ready',
extent: undefined,
zIndex: 0,
@@ -269,6 +274,7 @@ describe('ol.layer.Group', function() {
opacity: 1,
visible: true,
managed: true,
hasOverlay: false,
sourceState: 'ready',
extent: undefined,
zIndex: 0,
@@ -441,6 +447,7 @@ describe('ol.layer.Group', function() {
opacity: 0.25,
visible: false,
managed: true,
hasOverlay: false,
sourceState: 'ready',
extent: undefined,
zIndex: 0,