Add ol.Map#forEachFeatureAtPixel

This commit is contained in:
Éric Lemoine
2013-12-02 12:58:02 +01:00
parent 6f423726a9
commit 374d5f99f6
2 changed files with 10 additions and 0 deletions
+9
View File
@@ -455,6 +455,15 @@ ol.Map.prototype.disposeInternal = function() {
};
/**
* @param {ol.Pixel} pixel Pixel.
* @param {function(ol.Feature)} callback Feature callback.
*/
ol.Map.prototype.forEachFeatureAtPixel = function(pixel, callback) {
this.renderer_.forEachFeatureAtPixel(pixel, callback);
};
/**
* Freeze rendering.
*/