Add ol.source.Vector#forEachFeatureInExtentAtResolution

This commit is contained in:
Tom Payne
2014-03-06 14:57:56 +01:00
parent fe216e3da1
commit 3a8504b799

View File

@@ -208,6 +208,21 @@ ol.source.Vector.prototype.forEachFeatureInExtent =
};
/**
* @param {ol.Extent} extent Extent.
* @param {number} resolution Resolution.
* @param {function(this: T, ol.Feature): S} f Callback.
* @param {T=} opt_this The object to use as `this` in `f`.
* @return {S|undefined}
* @template T,S
* @todo stability experimental
*/
ol.source.Vector.prototype.forEachFeatureInExtentAtResolution =
function(extent, resolution, f, opt_this) {
return this.forEachFeatureInExtent(extent, f, opt_this);
};
/**
* @return {Array.<ol.Feature>} Features.
* @todo stability experimental