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

@@ -49,6 +49,7 @@ describe('ol.layer.Layer', function() {
opacity: 1,
visible: true,
managed: true,
hasOverlay: false,
sourceState: 'ready',
extent: undefined,
zIndex: 0,
@@ -84,6 +85,7 @@ describe('ol.layer.Layer', function() {
opacity: 0.5,
visible: false,
managed: true,
hasOverlay: false,
sourceState: 'ready',
extent: undefined,
zIndex: 10,
@@ -182,6 +184,7 @@ describe('ol.layer.Layer', function() {
opacity: 0.33,
visible: false,
managed: true,
hasOverlay: false,
sourceState: 'ready',
extent: undefined,
zIndex: 10,
@@ -198,6 +201,7 @@ describe('ol.layer.Layer', function() {
opacity: 0,
visible: false,
managed: true,
hasOverlay: false,
sourceState: 'ready',
extent: undefined,
zIndex: 0,
@@ -212,6 +216,7 @@ describe('ol.layer.Layer', function() {
opacity: 1,
visible: true,
managed: true,
hasOverlay: false,
sourceState: 'ready',
extent: undefined,
zIndex: 0,