Remove hasFeatureAtCoordinate from ol/renderer/webgl/ImageLayer

This commit is contained in:
Frederic Junod
2018-10-17 17:01:02 +02:00
parent 648ee4f4a4
commit 7e142080a1

View File

@@ -2,7 +2,6 @@
* @module ol/renderer/webgl/ImageLayer
*/
import {ENABLE_RASTER_REPROJECTION} from '../../reproj/common.js';
import {TRUE} from '../../functions.js';
import LayerType from '../../LayerType.js';
import ViewHint from '../../ViewHint.js';
import {createCanvasContext2D} from '../../dom.js';
@@ -193,14 +192,6 @@ class WebGLImageLayerRenderer extends WebGLLayerRenderer {
}
/**
* @inheritDoc
*/
hasFeatureAtCoordinate(coordinate, frameState) {
const hasFeature = this.forEachFeatureAtCoordinate(coordinate, frameState, 0, TRUE, this);
return hasFeature !== undefined;
}
/**
* @inheritDoc
*/