Permalink
Browse files

Fewer, bigger tiles

  • Loading branch information...
1 parent 6b43435 commit 2082ba7637d25ee4c3f88fb1522befebaf94abf8 @tschaub tschaub committed Feb 13, 2013
Showing with 2 additions and 1 deletion.
  1. +2 −1 src/ol/renderer/canvas/canvasvectorlayerrenderer.js
@@ -191,7 +191,8 @@ ol.renderer.canvas.VectorLayer.prototype.renderFrame =
if (goog.isNull(tileGrid)) {
// lazy tile source creation to match the view projection
tileGrid = ol.tilegrid.createForProjection(
- view2DState.projection, /** TODO: get this elsewhere */ 22);
+ view2DState.projection, /** TODO: get this elsewhere */ 22,
+ new ol.Size(512, 512));
source.setTileGrid(tileGrid);
}

0 comments on commit 2082ba7

Please sign in to comment.