Add a 'ol-overlay-container' CSS class to the overlay element

This commit is contained in:
Frederic Junod
2015-03-11 11:08:14 +01:00
parent 064cd5695a
commit dcba9f2ff4
+3 -1
View File
@@ -90,7 +90,9 @@ ol.Overlay = function(options) {
* @private
* @type {Element}
*/
this.element_ = goog.dom.createElement(goog.dom.TagName.DIV);
this.element_ = goog.dom.createDom(goog.dom.TagName.DIV, {
'class': 'ol-overlay-container'
});
this.element_.style.position = 'absolute';
/**