Remove use of goog.dom.createElement

This commit is contained in:
Frederic Junod
2015-11-23 09:22:39 +01:00
parent 6897e3cc52
commit 1092f6b2a2
10 changed files with 19 additions and 23 deletions

View File

@@ -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;