Only draw batches in visible extent
This commit is contained in:
@@ -87,7 +87,7 @@ ol.renderer.canvas.VectorLayer.prototype.composeFrame =
|
||||
0);
|
||||
|
||||
context.globalAlpha = layerState.opacity;
|
||||
batchGroup.draw(context, transform);
|
||||
batchGroup.draw(context, frameState.extent, transform);
|
||||
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user