Merge pull request #470 from szymonc/error-fix
Add goog.base(this) to the MapBrowserEventHandler's constructor
This commit is contained in:
@@ -105,6 +105,8 @@ ol.MapBrowserEvent.prototype.isMouseActionButton = function() {
|
|||||||
*/
|
*/
|
||||||
ol.MapBrowserEventHandler = function(map) {
|
ol.MapBrowserEventHandler = function(map) {
|
||||||
|
|
||||||
|
goog.base(this);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This is the element that we will listen to the real events on.
|
* This is the element that we will listen to the real events on.
|
||||||
* @type {ol.Map}
|
* @type {ol.Map}
|
||||||
|
|||||||
Reference in New Issue
Block a user