Compare commits
5 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
68438c7c10 | ||
|
|
7dd322dd6f | ||
|
|
676476ec64 | ||
|
|
8f8b7e1f17 | ||
|
|
e62c333f32 |
9
changelog/v3.1.1.md
Normal file
9
changelog/v3.1.1.md
Normal file
@@ -0,0 +1,9 @@
|
||||
# 3.1.0
|
||||
|
||||
## Summary
|
||||
|
||||
This is a patch release to fix an issue with the select interaction in the 3.1.0 release.
|
||||
|
||||
## Changes
|
||||
|
||||
* [#3082](https://github.com/openlayers/ol3/pull/3082) - Correct arguments for forEachGeometryAtPixel. ([@tschaub](https://github.com/tschaub))
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "openlayers",
|
||||
"version": "3.1.0",
|
||||
"version": "3.1.1",
|
||||
"description": "Build tools and sources for developing OpenLayers based mapping applications",
|
||||
"keywords": [
|
||||
"map",
|
||||
|
||||
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user