Adding getStaticOverlay method.

This will be used by overlays, e.g. to display layer attribution.
This commit is contained in:
ahocevar
2012-06-24 17:07:02 +02:00
parent f7b75a8913
commit 45222ac5cb

View File

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