Merge pull request #3084 from openlayers/v3.1.x

Changes from the v3.1.x branch.
This commit is contained in:
Tim Schaub
2015-01-05 10:22:14 -07:00
3 changed files with 11 additions and 3 deletions

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.