Unconditionally draw Replay's
This commit is contained in:
@@ -141,8 +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,
|
||||
{});
|
||||
replayGroup.replay(this.canvasContext_, pixelRatio, transform, 0, {});
|
||||
|
||||
this.replayGroup_ = replayGroup;
|
||||
|
||||
@@ -154,14 +153,14 @@ ol.source.ImageVector.prototype.canvasFunctionInternal_ =
|
||||
* @inheritDoc
|
||||
*/
|
||||
ol.source.ImageVector.prototype.forEachFeatureAtPixel = function(
|
||||
extent, resolution, rotation, coordinate, skippedFeatureUids, callback) {
|
||||
resolution, rotation, coordinate, skippedFeatureUids, callback) {
|
||||
if (goog.isNull(this.replayGroup_)) {
|
||||
return undefined;
|
||||
} else {
|
||||
/** @type {Object.<string, boolean>} */
|
||||
var features = {};
|
||||
return this.replayGroup_.forEachGeometryAtPixel(
|
||||
extent, resolution, 0, coordinate, skippedFeatureUids,
|
||||
resolution, 0, coordinate, skippedFeatureUids,
|
||||
/**
|
||||
* @param {ol.Feature} feature Feature.
|
||||
* @return {?} Callback result.
|
||||
|
||||
Reference in New Issue
Block a user