Remove use of goog.dom.createDom

This commit is contained in:
Frederic Junod
2016-02-15 16:20:52 +01:00
parent 34392b464c
commit 296ec9799f
5 changed files with 23 additions and 13 deletions

View File

@@ -86,7 +86,8 @@ ol.control.OverviewMap = function(opt_options) {
ol.events.listen(button, ol.events.EventType.CLICK,
this.handleClick_, this);
var ovmapDiv = goog.dom.createDom('DIV', 'ol-overviewmap-map');
var ovmapDiv = document.createElement('DIV');
ovmapDiv.className = 'ol-overviewmap-map';
/**
* @type {ol.Map}