Merge pull request #3787 from ahocevar/unmanaged-layerstate

Add 'unmanaged' to ol.layer.LayerState
This commit is contained in:
Andreas Hocevar
2015-06-11 10:53:38 +02:00
3 changed files with 14 additions and 0 deletions

View File

@@ -35,6 +35,7 @@ ol.layer.LayerProperty = {
* saturation: number,
* sourceState: ol.source.State,
* visible: boolean,
* unmanaged: boolean,
* extent: (ol.Extent|undefined),
* maxResolution: number,
* minResolution: number}}
@@ -142,6 +143,7 @@ ol.layer.Base.prototype.getLayerState = function() {
saturation: Math.max(saturation, 0),
sourceState: sourceState,
visible: visible,
unmanaged: false,
extent: extent,
maxResolution: maxResolution,
minResolution: Math.max(minResolution, 0)