| Map { | |
| background-color: #b8dee6; | |
| } | |
| #countries { | |
| ::outline { | |
| line-color: #1889a2 ; | |
| line-width: 2; | |
| line-join: round; | |
| } | |
| polygon-fill: #fff; | |
| } | |
| // I had to get a states 'shapefile' to upload as a layer to make this part work. | |
| // I used this one, which was pretty crude. You can probably find a better shapefile of US states. | |
| // http://www.arcgis.com/home/item.html?id=f7f805eb65eb4ab787a0a3e1116ca7e5 | |
| #states { | |
| line-color:#1889a2; | |
| line-width:0.5; | |
| line-join: round; | |
| } | |
| // One of the layers I uploaded was a spreadsheet of cities in RI along with the number of | |
| // kids involved in early childhood "Early Intervention" programs. | |
| // The column containing the # of kids was titled "KidsInEI". | |
| //#RI-KIDS { | |
| // With Carto I was able to change the size of the marker based on how many kids in a city were enrolled in EI. | |
| // More information on that here: http://mapbox.com/tilemill/docs/crashcourse/styling/ | |
| // [KidsInEI >= 200] { marker-width:25; } | |
| // [KidsInEI <= 150] { marker-width:20; } | |
| // [KidsInEI <= 100] { marker-width: 15; } | |
| // [KidsInEI <= 50] { marker-width: 10; } | |
| // [KidsInEI <= 25] { marker-width: 5;} | |
| marker-fill: #1889a2; | |
| marker-line-width: 5; | |
| marker-line-color:#813; | |
| marker-allow-overlap:true | |
| } | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment