From ba1ae9856c6be8d0f785cd88421e358f4b06d421 Mon Sep 17 00:00:00 2001 From: Francisco Dans Date: Mon, 15 Dec 2014 16:04:53 +0100 Subject: [PATCH] adds loop option to gui --- index.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/index.html b/index.html index d164dc5..0599436 100644 --- a/index.html +++ b/index.html @@ -148,6 +148,7 @@ 'countby', 'resolution', 'steps', + 'loop', 'animationDuration' ) })) @@ -161,6 +162,7 @@ table : 'ow', column : 'date', countby : 'count(cartodb_id)', + loop : true, resolution: 1, steps: 800, blendmode : 'lighter', @@ -219,6 +221,7 @@ torqueLayer.animator.duration(d); saveState(); }); + ui.add(TorqueOptions, 'loop'); ui.add({ cartocss_editor: toggle_editor }, 'cartocss_editor'); //ui.remember(TorqueOptions); //ui.add(TorqueOptions, 'blendmode', blend_modes);