Implement hasFeatureAtPixel for canvas
This commit is contained in:
@@ -54,6 +54,14 @@ goog.inherits(ol.renderer.Layer, goog.Disposable);
|
||||
ol.renderer.Layer.prototype.forEachFeatureAtPixel = goog.nullFunction;
|
||||
|
||||
|
||||
/**
|
||||
* @param {ol.Coordinate} coordinate Coordinate.
|
||||
* @param {olx.FrameState} frameState Frame state.
|
||||
* @return {boolean} Is there a feature at the given pixel?
|
||||
*/
|
||||
ol.renderer.Layer.prototype.hasFeatureAtPixel = goog.functions.FALSE;
|
||||
|
||||
|
||||
/**
|
||||
* @protected
|
||||
* @return {ol.layer.Layer} Layer.
|
||||
|
||||
Reference in New Issue
Block a user