From 45222ac5cba7446c3cc3b68ea9670b9e1c6ad86d Mon Sep 17 00:00:00 2001 From: ahocevar Date: Sun, 24 Jun 2012 17:07:02 +0200 Subject: [PATCH] Adding getStaticOverlay method. This will be used by overlays, e.g. to display layer attribution. --- src/ol/Map.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/src/ol/Map.js b/src/ol/Map.js index 02defe01fa..2a4f833a56 100644 --- a/src/ol/Map.js +++ b/src/ol/Map.js @@ -503,6 +503,13 @@ ol.Map.prototype.getMapOverlay = function() { return this.mapOverlay_; }; +/** + * @returns {Element} the static overlay element + */ +ol.Map.prototype.getStaticOverlay = function() { + return this.staticOverlay_; +}; + /** * @export */