Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
CartoCSS for NYC Apartments demo
#nycappartments {
marker-width:3;
marker-fill:#ea8f40;
marker-line-color:darken(#ea8f40, 10);
marker-allow-overlap:true;
[zoom > 13] {
marker-width: 6;
}
[zoom > 14] {
marker-width: 9;
}
[zoom > 15] {
marker-width: 15;
}
[zoom > 16] {
marker-width: 20;
}
[units >= 75] {
marker-fill: #d7254c;
marker-line-color: darken(#d7254c, 10);
marker-line-width: 5;
}
[units >= 350] {
marker-fill: #76b749;
marker-line-color: darken(#76b749, 10);
marker-line-width: 8;
}
[units >= 1000] {
marker-fill: #1472ac;
marker-line-color: darken(#1472ac, 10);
marker-line-width: 16;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.