Pass layer to forEachFeatureAtPixel callback

This commit is contained in:
Tom Payne
2013-12-02 16:45:50 +01:00
parent f1a9f76841
commit e9267e401c
4 changed files with 8 additions and 4 deletions
+2 -1
View File
@@ -44,7 +44,8 @@ goog.inherits(ol.renderer.Layer, goog.Disposable);
/**
* @param {ol.Pixel} pixel Pixel.
* @param {function(this: S, ol.Feature): T} callback Feature callback.
* @param {function(this: S, ol.Feature, ol.layer.Layer): T} callback Feature
* callback.
* @param {S=} opt_obj Scope.
* @return {T|undefined} Callback result.
* @template S,T