Skip to content

Instantly share code, notes, and snippets.

@saleiva
Created November 19, 2012 18:19
Show Gist options
  • Save saleiva/4112474 to your computer and use it in GitHub Desktop.
Save saleiva/4112474 to your computer and use it in GitHub Desktop.
Cartocss conditional example
#your_table_name{
marker-fill: #FF5C00;
marker-opacity: 0.8;
marker-allow-overlap: true;
marker-placement: point;
marker-type: ellipse;
marker-width: 7;
marker-line-width: 2;
marker-line-color: #FFF;
marker-line-opacity: 1;
}
#your_table_name[column_name='xxxxx']{
marker-fill: #FF0000;
}
#your_table_name[column_name='xxxxx']{
marker-fill: #FF3333;
}
...
@aawiseman
Copy link

Awesome, I was looking for this. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment