torque/docs/guides/02-CartoCSS.md

23 lines
954 B
Markdown
Raw Normal View History

## Torque CartoCSS
2018-02-20 23:53:51 +08:00
### -torque-clear-color
2018-02-20 23:53:51 +08:00
Color used to clear canvas on each frame.
### -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.
### -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.
### -torque-animation-duration
2018-02-20 23:53:51 +08:00
Animation duration in seconds.
### -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).
### -torque-time-attribute
2018-02-20 23:53:51 +08:00
The table column that contains the time information used create the animation.
### -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.