Merge pull request #3066 from tsauerwein/webgl-point-hasFeatureAtPixel

Introduce hasFeatureAtPixel
This commit is contained in:
Tobias Sauerwein
2015-01-22 10:20:00 +01:00
9 changed files with 280 additions and 19 deletions
+8
View File
@@ -56,6 +56,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.