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

This commit is contained in:
Frederic Junod
2014-10-25 14:45:27 +02:00
parent 064cd5695a
commit dcba9f2ff4

View File

@@ -90,7 +90,9 @@ ol.Overlay = function(options) {
* @private * @private
* @type {Element} * @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'; this.element_.style.position = 'absolute';
/** /**