Keep track of max extent for replay

This commit is contained in:
Tim Schaub
2014-02-21 19:25:49 -07:00
parent ee2485534a
commit f4746687e8
3 changed files with 34 additions and 16 deletions

View File

@@ -111,7 +111,7 @@ ol.source.ImageVector.prototype.canvasFunctionInternal_ =
function(extent, resolution, pixelRatio, size, projection) {
var tolerance = resolution / (2 * pixelRatio);
var replayGroup = new ol.render.canvas.ReplayGroup(tolerance);
var replayGroup = new ol.render.canvas.ReplayGroup(tolerance, extent);
var loading = false;
this.source_.forEachFeatureInExtent(extent,