Skip to content

Instantly share code, notes, and snippets.

@aleszu
Created October 5, 2015 17:39
Show Gist options
  • Save aleszu/c5a1abd6be20f3ea2060 to your computer and use it in GitHub Desktop.
Save aleszu/c5a1abd6be20f3ea2060 to your computer and use it in GitHub Desktop.
/** choropleth visualization */
#bird_tracking{
polygon-opacity: 0;
line-color: #FFFFCC;
line-width: 1.5;
line-opacity: 0.8;
}
#bird_tracking::labels {
text-name: [bird_name];
text-face-name: 'Lato Bold';
text-size: 12;
text-label-position-tolerance: 10;
text-fill: #000;
text-halo-fill: #FFF;
text-halo-radius: 2;
text-dy: -10;
text-allow-overlap: false;
text-placement: line;
text-placement-type: simple;
}
#bird_tracking [ month <= 12] {
line-color: #253494;
}
#bird_tracking [ month <= 11] {
line-color: #2C7FB8;
}
#bird_tracking [ month <= 10] {
line-color: #41B6C4;
}
#bird_tracking [ month <= 9] {
line-color: #A1DAB4;
}
#bird_tracking [ month <= 8] {
line-color: #FFFFCC;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment