Skip to content

Commit

Permalink
Pass tileSize option into torque renderer
Browse files Browse the repository at this point in the history
It depends on CartoDB/torque#260
  • Loading branch information
rochoa committed Jun 1, 2016
1 parent 7c06477 commit ca2b7f5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/windshaft/renderers/torque/png_renderer.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ function PngRenderer(layer, sql, attrs, options) {
this.rendererOptions = _.extend({}, layer.options, cartoCssOptions, {
canvasClass: Canvas,
imageClass: Canvas.Image,
tileSize: options.tileSize,
// TODO This should behave as a locking cache
// It should not request the same file as many times as setImageSrc is invoked
// Right now it will be called: (# different marker-files) * (# calls to renderer.Point.renderTile) times
Expand Down

0 comments on commit ca2b7f5

Please sign in to comment.