Add basic docs for layer.Group

This commit is contained in:
Marc Jansen
2015-04-18 08:59:40 +02:00
parent b46505a09b
commit b457b26743

View File

@@ -144,8 +144,10 @@ ol.layer.Group.prototype.handleLayersRemove_ = function(collectionEvent) {
/**
* Returns the {@link ol.Collection collection} of {@link ol.layer.Layer layers}
* in this group.
* @return {!ol.Collection.<ol.layer.Base>} Collection of
* {@link ol.layer.Layer layers} that are part of this group.
* {@link ol.layer.Layer layers} that are part of this group.
* @observable
* @api stable
*/
@@ -156,8 +158,10 @@ ol.layer.Group.prototype.getLayers = function() {
/**
* Set the {@link ol.Collection collection} of {@link ol.layer.Layer layers}
* in this group.
* @param {!ol.Collection.<ol.layer.Base>} layers Collection of
* {@link ol.layer.Layer layers} that are part of this group.
* {@link ol.layer.Layer layers} that are part of this group.
* @observable
* @api stable
*/