Add ol.Map#forEachFeatureAtPixel
This commit is contained in:
@@ -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.
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user