Skip to content

Instantly share code, notes, and snippets.

@matallo
Created August 2, 2014 10:35
Show Gist options
  • Save matallo/39cb6be06f213cc7c9cb to your computer and use it in GitHub Desktop.
Save matallo/39cb6be06f213cc7c9cb to your computer and use it in GitHub Desktop.
/** cluster visualization */
#untitled_table_1{
marker-file: url(https://s3.amazonaws.com/com.cartodb.users-assets.production/production/elcasc/assets/20140801095440Icon1.png);
marker-fill-opacity: 0.9;
marker-line-color: #FFF;
marker-line-width: 2.5;
marker-line-opacity: 1;
marker-placement: point;
marker-type: ellipse;
marker-width: 20;
marker-allow-overlap: true;
[src = 'bucketB'] {
marker-line-width: 5;
marker-width: 40;
}
[src = 'bucketA'] {
marker-line-width: 5;
marker-width: 64;
}
}
#untitled_table_1::labels {
text-size: 0;
text-fill: #000000;
text-opacity: 0.8;
text-name: [points_count];
text-face-name: 'DejaVu Sans Bold';
text-halo-fill: #FFFFFF;
text-halo-radius: 0;
text-dy: -24;
[src = 'bucketB'] {
text-size: 12;
text-halo-radius: 0.5;
}
[src = 'bucketA'] {
text-size: 17;
text-halo-radius: 0.5;
}
text-allow-overlap: true;
[zoom>11]{ text-size: 16; }
[points_count = 1]{ text-size: 0; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment