Remove unused hasFeatureAtCoordinate from ol/renderer/Layer

This commit is contained in:
Frederic Junod
2019-06-28 10:58:21 +02:00
committed by Olivier Guyot
parent 3bca9b5297
commit 933a6297bb
3 changed files with 2 additions and 21 deletions

View File

@@ -3,7 +3,6 @@
*/
import LayerRenderer from '../Layer.js';
import WebGLHelper from '../../webgl/Helper.js';
import {TRUE} from '../../functions.js';
/**
@@ -83,13 +82,6 @@ class WebGLLayerRenderer extends LayerRenderer {
return this.helper.getShaderCompileErrors();
}
/**
* @inheritDoc
*/
hasFeatureAtCoordinate(coordinate, frameState) {
const feature = this.forEachFeatureAtCoordinate(coordinate, frameState, 0, TRUE, null);
return feature !== undefined;
}
}