Skip to content

Instantly share code, notes, and snippets.

@andrewxhill
Created March 18, 2015 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save andrewxhill/a81c267615bde4d028ee to your computer and use it in GitHub Desktop.
Save andrewxhill/a81c267615bde4d028ee to your computer and use it in GitHub Desktop.
/** torque_heat visualization */
Map {
-torque-frame-count:1;
-torque-animation-duration:10;
-torque-time-attribute:"cartodb_id";
-torque-aggregation-function:"count(cartodb_id)";
-torque-resolution:2;
-torque-data-aggregation:linear;
}
#altfuelstationsapr42012{
image-filters: colorize-alpha(red, orange, yellow, lightgreen, cyan, blue);
marker-file: url(http://s3.amazonaws.com/com.cartodb.assets.static/alphamarker.png);
marker-fill-opacity: 0.4;
marker-width: 11.5;
}
#altfuelstationsapr42012[frame-offset=1] {
marker-width:13.5;
marker-fill-opacity:0.2;
}
#altfuelstationsapr42012[frame-offset=2] {
marker-width:15.5;
marker-fill-opacity:0.1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment