Export map.getLayers
This commit is contained in:
@@ -399,6 +399,10 @@ ol.Map.prototype.getInteractions = function() {
|
||||
ol.Map.prototype.getLayers = function() {
|
||||
return /** @type {ol.Collection} */ (this.get(ol.MapProperty.LAYERS));
|
||||
};
|
||||
goog.exportProperty(
|
||||
ol.Map.prototype,
|
||||
'getLayers',
|
||||
ol.Map.prototype.getLayers);
|
||||
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user