Skip to content

Instantly share code, notes, and snippets.

@stiles
Created February 24, 2012 21:54
Show Gist options
  • Save stiles/1904030 to your computer and use it in GitHub Desktop.
Save stiles/1904030 to your computer and use it in GitHub Desktop.
Murder Rate 2011 Cities > 250000
Map {
background-color: #333;
}
#countries {
::outline {
line-color: #666;
line-width: 2;
line-join: round;
}
polygon-fill: #666;
}
#states [ISO='USA'] {
line-color:#333;
line-width:1;
polygon-opacity:1;
polygon-fill:#666;
}
#lakes [ScaleRank < 3] {
line-color:#333;
line-width:0.5;
polygon-opacity:1;
polygon-fill:#333;
}
#cities [Population > 250000]{
marker-width:3;
marker-fill:#e76451;
marker-line-color:#aa2a17;
marker-allow-overlap:true;
marker-opacity: .6;
[MurderRate > 0 ] { marker-width:2; }
[MurderRate > 2 ] { marker-width:6; }
[MurderRate > 4 ] { marker-width:10; }
[MurderRate > 8 ] { marker-width:14; }
[MurderRate > 16 ] { marker-width:18; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment