ol.Map now have a LAYERGROUP property

The LAYERS property is gone.
This commit is contained in:
Bruno Binet
2013-06-27 18:58:32 +02:00
parent d84477c1c0
commit e4c36378ac
5 changed files with 81 additions and 42 deletions
+10
View File
@@ -45,6 +45,16 @@ ol.layer.Layer.prototype.dispatchLoadEvent_ = function() {
};
/**
* @inheritDoc
*/
ol.layer.Layer.prototype.getLayersArray = function(opt_array) {
var array = (goog.isDef(opt_array)) ? opt_array : [];
array.push(this);
return array;
};
/**
* @inheritDoc
*/