adds loop option to gui
This commit is contained in:
parent
a3916038e1
commit
ba1ae9856c
@ -148,6 +148,7 @@
|
|||||||
'countby',
|
'countby',
|
||||||
'resolution',
|
'resolution',
|
||||||
'steps',
|
'steps',
|
||||||
|
'loop',
|
||||||
'animationDuration'
|
'animationDuration'
|
||||||
)
|
)
|
||||||
}))
|
}))
|
||||||
@ -161,6 +162,7 @@
|
|||||||
table : 'ow',
|
table : 'ow',
|
||||||
column : 'date',
|
column : 'date',
|
||||||
countby : 'count(cartodb_id)',
|
countby : 'count(cartodb_id)',
|
||||||
|
loop : true,
|
||||||
resolution: 1,
|
resolution: 1,
|
||||||
steps: 800,
|
steps: 800,
|
||||||
blendmode : 'lighter',
|
blendmode : 'lighter',
|
||||||
@ -219,6 +221,7 @@
|
|||||||
torqueLayer.animator.duration(d);
|
torqueLayer.animator.duration(d);
|
||||||
saveState();
|
saveState();
|
||||||
});
|
});
|
||||||
|
ui.add(TorqueOptions, 'loop');
|
||||||
ui.add({ cartocss_editor: toggle_editor }, 'cartocss_editor');
|
ui.add({ cartocss_editor: toggle_editor }, 'cartocss_editor');
|
||||||
//ui.remember(TorqueOptions);
|
//ui.remember(TorqueOptions);
|
||||||
//ui.add(TorqueOptions, 'blendmode', blend_modes);
|
//ui.add(TorqueOptions, 'blendmode', blend_modes);
|
||||||
|
Loading…
Reference in New Issue
Block a user