From f2164e5028e164b86926ae4d911f5bf94da3f834 Mon Sep 17 00:00:00 2001 From: Tom Payne Date: Tue, 22 Jan 2013 13:06:53 +0100 Subject: [PATCH] Export map.getLayers --- src/ol/map.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/ol/map.js b/src/ol/map.js index 8c222f40df..d8a9952ad4 100644 --- a/src/ol/map.js +++ b/src/ol/map.js @@ -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); /**