Export map.getLayers

This commit is contained in:
Tom Payne committed 2013-01-22 13:08:40 +01:00
1 parent 577fc86684
commit f2164e5028
1 file changed
+4
+4
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);
/**