Handle pixelRatio on replay creation instead of replay

This commit is contained in:
Andreas Hocevar committed 2017-08-31 21:41:07 +02:00
1 parent 35bd92b713
commit 6469d3e864
10 files changed
+72 -74

No files matched your search

+1 -1
View File
@@ -143,7 +143,7 @@ ol.source.ImageVector.prototype.canvasFunctionInternal_ = function(extent, resol
var transform = this.getTransform_(ol.extent.getCenter(extent),
resolution, pixelRatio, size);
replayGroup.replay(this.canvasContext_, pixelRatio, transform, 0, {});
replayGroup.replay(this.canvasContext_, transform, 0, {});
this.replayGroup_ = replayGroup;