Skip to content

Instantly share code, notes, and snippets.

@tylor
Created May 26, 2012 08:14
Show Gist options
  • Select an option

  • Save tylor/2792879 to your computer and use it in GitHub Desktop.

Select an option

Save tylor/2792879 to your computer and use it in GitHub Desktop.
Carto style for parking meters in Vancouver
Map {
background-color: #b8dee6;
}
#countries {
::outline {
line-color: #85c5d3;
line-width: 2;
line-join: round;
}
polygon-fill: #fff;
}
#streets {
line-width:1;
line-color: rgba(0,0,0,0.25);
}
#meters {
line-width:2;
line-color:#000;
[RATE='$1.00'] {
line-color: #ffffd4;
}
[RATE='$1.50'] {
line-color: #fee391;
}
[RATE='$2.00'] {
line-color: #fec44f;
}
[RATE='$2.50'] {
line-color: #fe9929;
}
[RATE='$3.00'] {
line-color: #ec7014;
}
[RATE='$4.00'] {
line-color: #cc4c02;
}
[RATE='$5.00'] {
line-color: #8c2d04;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment