Remove use of goog.dom.createElement
This commit is contained in:
@@ -58,7 +58,7 @@ ol.renderer.webgl.Map = function(container, map) {
|
||||
* @type {HTMLCanvasElement}
|
||||
*/
|
||||
this.canvas_ = /** @type {HTMLCanvasElement} */
|
||||
(goog.dom.createElement('CANVAS'));
|
||||
(document.createElement('CANVAS'));
|
||||
this.canvas_.style.width = '100%';
|
||||
this.canvas_.style.height = '100%';
|
||||
this.canvas_.className = ol.css.CLASS_UNSELECTABLE;
|
||||
|
||||
Reference in New Issue
Block a user