diff --git a/src/ol/mapbrowserevent.js b/src/ol/mapbrowserevent.js index 26dcce04cd..382954e5a7 100644 --- a/src/ol/mapbrowserevent.js +++ b/src/ol/mapbrowserevent.js @@ -53,7 +53,8 @@ goog.inherits(ol.MapBrowserEvent, ol.MapEvent); */ ol.MapBrowserEvent.prototype.getCoordinate = function() { if (goog.isNull(this.coordinate_)) { - this.coordinate_ = this.map.getCoordinateFromPixel(this.getPixel()); + this.coordinate_ = this.map.getEventCoordinate( + this.browserEvent.getBrowserEvent()); } return this.coordinate_; };