Add ol.MapBrowserEvent#getBrowserEvent
This commit is contained in:
@@ -49,6 +49,14 @@ ol.MapBrowserEvent = function(type, map, browserEvent, opt_frameState) {
|
||||
goog.inherits(ol.MapBrowserEvent, ol.MapEvent);
|
||||
|
||||
|
||||
/**
|
||||
* @return {Event} The underlying browser event object.
|
||||
*/
|
||||
ol.MapBrowserEvent.prototype.getBrowserEvent = function() {
|
||||
return this.browserEvent.getBrowserEvent();
|
||||
};
|
||||
|
||||
|
||||
/**
|
||||
* @return {ol.Coordinate} Coordinate.
|
||||
* @todo stability experimental
|
||||
|
||||
Reference in New Issue
Block a user