Remove use of goog.dom.createDom
This commit is contained in:
+2
-3
@@ -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';
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user