Skip to content

Commit ca2b7f5

Browse files
committed
Pass tileSize option into torque renderer
It depends on CartoDB/torque#260
1 parent 7c06477 commit ca2b7f5

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/windshaft/renderers/torque/png_renderer.js

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ function PngRenderer(layer, sql, attrs, options) {
2626
this.rendererOptions = _.extend({}, layer.options, cartoCssOptions, {
2727
canvasClass: Canvas,
2828
imageClass: Canvas.Image,
29+
tileSize: options.tileSize,
2930
// TODO This should behave as a locking cache
3031
// It should not request the same file as many times as setImageSrc is invoked
3132
// Right now it will be called: (# different marker-files) * (# calls to renderer.Point.renderTile) times

0 commit comments

Comments
 (0)