Skipped features replaces RenderGeometryFunction

This commit is contained in:
Antoine Abt
2014-02-28 16:06:38 +01:00
parent 1fc1cd0b2f
commit 9f7cba0ac0
4 changed files with 106 additions and 121 deletions

View File

@@ -141,7 +141,7 @@ ol.source.ImageVector.prototype.canvasFunctionInternal_ =
var transform = this.getTransform_(ol.extent.getCenter(extent),
resolution, pixelRatio, size);
replayGroup.replay(this.canvasContext_, extent, pixelRatio, transform, 0,
goog.functions.TRUE);
[]);
this.replayGroup_ = replayGroup;
@@ -158,7 +158,7 @@ ol.source.ImageVector.prototype.forEachFeatureAtPixel =
return undefined;
} else {
return this.replayGroup_.forEachGeometryAtPixel(
extent, resolution, 0, coordinate, goog.functions.TRUE,
extent, resolution, 0, coordinate, [],
/**
* @param {ol.geom.Geometry} geometry Geometry.
* @param {Object} data Data.