Merge pull request #3084 from openlayers/v3.1.x
Changes from the v3.1.x branch.
This commit is contained in:
@@ -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
-1
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "openlayers",
|
"name": "openlayers",
|
||||||
"version": "3.1.0",
|
"version": "3.1.1",
|
||||||
"description": "Build tools and sources for developing OpenLayers based mapping applications",
|
"description": "Build tools and sources for developing OpenLayers based mapping applications",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"map",
|
"map",
|
||||||
|
|||||||
@@ -125,14 +125,13 @@ ol.renderer.Map.prototype.forEachFeatureAtPixel =
|
|||||||
function(coordinate, frameState, callback, thisArg,
|
function(coordinate, frameState, callback, thisArg,
|
||||||
layerFilter, thisArg2) {
|
layerFilter, thisArg2) {
|
||||||
var result;
|
var result;
|
||||||
var extent = frameState.extent;
|
|
||||||
var viewState = frameState.viewState;
|
var viewState = frameState.viewState;
|
||||||
var viewResolution = viewState.resolution;
|
var viewResolution = viewState.resolution;
|
||||||
var viewRotation = viewState.rotation;
|
var viewRotation = viewState.rotation;
|
||||||
if (!goog.isNull(this.replayGroup)) {
|
if (!goog.isNull(this.replayGroup)) {
|
||||||
/** @type {Object.<string, boolean>} */
|
/** @type {Object.<string, boolean>} */
|
||||||
var features = {};
|
var features = {};
|
||||||
result = this.replayGroup.forEachGeometryAtPixel(extent, viewResolution,
|
result = this.replayGroup.forEachGeometryAtPixel(viewResolution,
|
||||||
viewRotation, coordinate, {},
|
viewRotation, coordinate, {},
|
||||||
/**
|
/**
|
||||||
* @param {ol.Feature} feature Feature.
|
* @param {ol.Feature} feature Feature.
|
||||||
|
|||||||
Reference in New Issue
Block a user