Created
November 19, 2012 18:19
-
-
Save saleiva/4112474 to your computer and use it in GitHub Desktop.
Cartocss conditional example
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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; | |
} | |
... |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Awesome, I was looking for this. Thanks