Rename ol.MapEventType to ol.MapEvent.Type

This commit is contained in:
Frederic Junod
2016-09-07 10:05:38 +02:00
parent a40717b7c9
commit 107dd6a85f
6 changed files with 31 additions and 32 deletions

View File

@@ -2,7 +2,7 @@ goog.provide('ol.control.Control');
goog.require('ol.events');
goog.require('ol');
goog.require('ol.MapEventType');
goog.require('ol.MapEvent');
goog.require('ol.Object');
goog.require('ol.dom');
@@ -118,7 +118,7 @@ ol.control.Control.prototype.setMap = function(map) {
target.appendChild(this.element);
if (this.render !== ol.nullFunction) {
this.listenerKeys.push(ol.events.listen(map,
ol.MapEventType.POSTRENDER, this.render, this));
ol.MapEvent.Type.POSTRENDER, this.render, this));
}
map.render();
}