Added hitTolerance parameter to reworked files

This commit is contained in:
simonseyock
2016-12-08 10:21:57 +01:00
parent f10ae6c474
commit f28e0ebc1f
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -106,7 +106,7 @@ ol.renderer.canvas.Layer.prototype.dispatchComposeEvent_ = function(type, contex
*/
ol.renderer.canvas.Layer.prototype.forEachLayerAtCoordinate = function(coordinate, frameState, callback, thisArg) {
var hasFeature = this.forEachFeatureAtCoordinate(
coordinate, frameState, ol.functions.TRUE, this);
coordinate, frameState, 0, ol.functions.TRUE, this);
if (hasFeature) {
return callback.call(thisArg, this.getLayer(), null);