Remove extra parameters

This commit is contained in:
Frederic Junod
2018-09-27 17:39:24 +02:00
parent 6ce56329dd
commit f58cd03f3b
5 changed files with 5 additions and 7 deletions

View File

@@ -102,7 +102,7 @@ class CanvasLayerRenderer extends LayerRenderer {
* @template S,T,U
*/
forEachLayerAtCoordinate(coordinate, frameState, hitTolerance, callback, thisArg) {
const hasFeature = this.forEachFeatureAtCoordinate(coordinate, frameState, hitTolerance, TRUE, this);
const hasFeature = this.forEachFeatureAtCoordinate(coordinate, frameState, hitTolerance, TRUE);
if (hasFeature) {
return callback.call(thisArg, this.getLayer(), null);