Export map.getLayers

This commit is contained in:
Tom Payne
2013-01-22 13:06:53 +01:00
parent 577fc86684
commit f2164e5028

View File

@@ -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);
/**