Skipped features support to ol.source.ImageVector
This commit is contained in:
@@ -144,13 +144,13 @@ ol.source.ImageVector.prototype.canvasFunctionInternal_ =
|
||||
/**
|
||||
* @inheritDoc
|
||||
*/
|
||||
ol.source.ImageVector.prototype.forEachFeatureAtPixel =
|
||||
function(extent, resolution, rotation, coordinate, callback) {
|
||||
ol.source.ImageVector.prototype.forEachFeatureAtPixel = function(
|
||||
extent, resolution, rotation, coordinate, skippedFeatureUids, callback) {
|
||||
if (goog.isNull(this.replayGroup_)) {
|
||||
return undefined;
|
||||
} else {
|
||||
return this.replayGroup_.forEachGeometryAtPixel(
|
||||
extent, resolution, 0, coordinate, {},
|
||||
extent, resolution, 0, coordinate, skippedFeatureUids,
|
||||
/**
|
||||
* @param {ol.geom.Geometry} geometry Geometry.
|
||||
* @param {Object} data Data.
|
||||
|
||||
@@ -88,6 +88,7 @@ goog.inherits(ol.source.Source, ol.Observable);
|
||||
* @param {number} resolution Resolution.
|
||||
* @param {number} rotation Rotation.
|
||||
* @param {ol.Coordinate} coordinate Coordinate.
|
||||
* @param {Object.<string, boolean>} skippedFeatureUids Skipped feature uids.
|
||||
* @param {function(ol.Feature): T} callback Feature callback.
|
||||
* @return {T|undefined} Callback result.
|
||||
* @template T
|
||||
|
||||
Reference in New Issue
Block a user