2018-02-26 19:01:41 +08:00
## Torque CartoCSS
2018-02-20 23:53:51 +08:00
2018-02-26 19:01:41 +08:00
### -torque-clear-color
2018-02-20 23:53:51 +08:00
Color used to clear canvas on each frame.
2018-02-26 19:01:41 +08:00
### -torque-frame-count
2018-02-20 23:53:51 +08:00
Number of animation steps/frames used in the animation. If the data contains a fewer number of total frames, the lesser value will be used.
2018-02-26 19:01:41 +08:00
### -torque-resolution
2018-02-20 23:53:51 +08:00
Spatial resolution in pixels. A resolution of 1 means no spatial aggregation of the data. Any other resolution of N results in spatial aggregation into cells of NxN pixels. The value N must be power of 2.
2018-02-26 19:01:41 +08:00
### -torque-animation-duration
2018-02-20 23:53:51 +08:00
Animation duration in seconds.
2018-02-26 19:01:41 +08:00
### -torque-aggregation-function
2018-02-20 23:53:51 +08:00
A function used to calculate a value from the aggregate data for each cell. See [-torque-resolution ](#-torque-resolution ).
2018-02-26 19:01:41 +08:00
### -torque-time-attribute
2018-02-20 23:53:51 +08:00
The table column that contains the time information used create the animation.
2018-02-26 19:01:41 +08:00
### -torque-data-aggregation
2018-02-20 23:53:51 +08:00
A linear animation will discard previous values while a cumulative animation will accumulate them until it restarts.