Correct arguments for forEachGeometryAtPixel

This commit is contained in:
Tim Schaub
2014-12-23 11:10:04 -05:00
parent 78ac65e57d
commit e62c333f32

View File

@@ -125,14 +125,13 @@ ol.renderer.Map.prototype.forEachFeatureAtPixel =
function(coordinate, frameState, callback, thisArg,
layerFilter, thisArg2) {
var result;
var extent = frameState.extent;
var viewState = frameState.viewState;
var viewResolution = viewState.resolution;
var viewRotation = viewState.rotation;
if (!goog.isNull(this.replayGroup)) {
/** @type {Object.<string, boolean>} */
var features = {};
result = this.replayGroup.forEachGeometryAtPixel(extent, viewResolution,
result = this.replayGroup.forEachGeometryAtPixel(viewResolution,
viewRotation, coordinate, {},
/**
* @param {ol.Feature} feature Feature.