Remove use of goog.dom.createDom

This commit is contained in:
Frederic Junod
2015-11-24 12:25:45 +01:00
parent d96d82939a
commit a186254e14
3 changed files with 25 additions and 8 deletions
+2 -3
View File
@@ -96,9 +96,8 @@ ol.Overlay = function(options) {
* @private
* @type {Element}
*/
this.element_ = goog.dom.createDom('DIV', {
'class': 'ol-overlay-container'
});
this.element_ = document.createElement('DIV');
this.element_.className = 'ol-overlay-container';
this.element_.style.position = 'absolute';
/**