Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Bill Morris
committed
Dec 6, 2011
1 parent
2fadd63
commit 176489d
Showing
8 changed files
with
220 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/home/wboykinm/Documents/MapBox/cache/1aa2d236-10m-admin-0-countries |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/home/wboykinm/Documents/MapBox/data |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
{ | ||
"bounds": [ | ||
-180, | ||
-85.05112877980659, | ||
180, | ||
85.05112877980659 | ||
], | ||
"center": [ | ||
-93.3343505859375, | ||
40.44694705960048, | ||
4 | ||
], | ||
"format": "png", | ||
"interactivity": { | ||
"layer": "highered", | ||
"template_teaser": "{{{Label}}}", | ||
"template_full": "<strong>{{{Label}}}</strong> <br /> \n{{{Address}}}<br />\n{{{City_1}}}, {{{State_1}}} {{{Zip_1}}}<br />\n**********<br />\n<i>Score: {{{score}}}</i><br />\nStudents & Staff: {{{popxcat}}}<br />\n", | ||
"template_location": "" | ||
}, | ||
"minzoom": 0, | ||
"maxzoom": 22, | ||
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over", | ||
"Stylesheet": [ | ||
"style.mss" | ||
], | ||
"Layer": [ | ||
{ | ||
"id": "countries", | ||
"name": "countries", | ||
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over", | ||
"geometry": "polygon", | ||
"Datasource": { | ||
"file": "http://mapbox-geodata.s3.amazonaws.com/natural-earth-1.3.0/cultural/10m-admin-0-countries.zip", | ||
"type": "shape" | ||
} | ||
}, | ||
{ | ||
"geometry": "point", | ||
"name": "highered", | ||
"id": "highered", | ||
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over", | ||
"class": "point", | ||
"Datasource": { | ||
"file": "/home/wboykinm/Documents/MapBox/data/highered.zip", | ||
"id": "highered", | ||
"project": "rede_highered_xcat", | ||
"srs": null | ||
} | ||
} | ||
], | ||
"name": "REDE Higher Education XCAT", | ||
"description": "", | ||
"attribution": "", | ||
"legend": "" | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,95 @@ | ||
/*Bounding boxes, zooms 1-13: | ||
-Conus&PR: 50,17 Lat,-126,-64 Long | ||
-AK: 72,51 Lat,-132,-177 Long | ||
-HI: 23,18 Lat,-154,-160 Long | ||
*/ | ||
Map { | ||
/*background-color: #b8dee6;*/ | ||
} | ||
|
||
/*#countries { | ||
::outline { | ||
line-color: #85c5d3; | ||
line-width: 2; | ||
line-join: round; | ||
} | ||
polygon-fill: #fff; | ||
}*/ | ||
|
||
/************************styled on two variables*************************/ | ||
.point { | ||
[popxcat<=1000] { | ||
[zoom>0][zoom<6] { marker-height: 0.5; } | ||
[zoom>5][zoom<9] { marker-height: 2; } | ||
[zoom>8][zoom<12] { marker-height: 5; } | ||
[zoom>11] { marker-height: 10; } | ||
[score<15] { marker-line-color: #253494; marker-fill: #2C7FB8; } | ||
[score>=15][score<20] { marker-line-color: #253494; marker-fill: #41B6C4; } | ||
[score>=20][score<25] { marker-line-color: #253494; marker-fill: #7FCDBB; } | ||
[score>=25][score<30] { marker-line-color: #253494; marker-fill: #C7E9B4; } | ||
[score>=30] { marker-line-color: #253494; marker-fill: #FFFFCC; } | ||
} | ||
|
||
[popxcat>1000][popxcat<=5000] { | ||
[zoom>0][zoom<6] { marker-height: 2; } | ||
[zoom>5][zoom<9] { marker-height: 5; } | ||
[zoom>8][zoom<12] { marker-height: 8; } | ||
[zoom>11] { marker-height: 12; } | ||
[score<15] { marker-line-color: #253494; marker-fill: #2C7FB8; } | ||
[score>=15][score<20] { marker-line-color: #253494; marker-fill: #41B6C4; } | ||
[score>=20][score<25] { marker-line-color: #253494; marker-fill: #7FCDBB; } | ||
[score>=25][score<30] { marker-line-color: #253494; marker-fill: #C7E9B4; } | ||
[score>=30] { marker-line-color: #253494; marker-fill: #FFFFCC; } | ||
} | ||
|
||
[popxcat>5000][popxcat<=20000] { | ||
[zoom>0][zoom<6] { marker-height: 2; } | ||
[zoom>5][zoom<9] { marker-height: 6; } | ||
[zoom>8][zoom<12] { marker-height: 12; } | ||
[zoom>11] { marker-height: 15; } | ||
[score<15] { marker-line-color: #253494; marker-fill: #2C7FB8; } | ||
[score>=15][score<20] { marker-line-color: #253494; marker-fill: #41B6C4; } | ||
[score>=20][score<25] { marker-line-color: #253494; marker-fill: #7FCDBB; } | ||
[score>=25][score<30] { marker-line-color: #253494; marker-fill: #C7E9B4; } | ||
[score>=30] { marker-line-width: 2; marker-line-color: #253494; marker-fill: #FFFFCC; } | ||
} | ||
|
||
[popxcat>20000][popxcat<=200000] { | ||
[zoom>0][zoom<6] { marker-height: 3; } | ||
[zoom>5][zoom<9] { marker-height: 10; } | ||
[zoom>8][zoom<12] { marker-height: 12; } | ||
[zoom>11] { marker-height: 30; } | ||
[score<15] { marker-line-color: #253494; marker-fill: #2C7FB8; } | ||
[score>=15][score<20] { marker-line-color: #253494; marker-fill: #41B6C4; } | ||
[score>=20][score<25] { marker-line-color: #253494; marker-fill: #7FCDBB; } | ||
[score>=25][score<30] { marker-line-color: #253494; marker-fill: #C7E9B4; } | ||
[score>=30] { marker-line-width: 2; marker-line-color: #253494; marker-fill: #FFFFCC; } | ||
} | ||
|
||
[popxcat>200000][popxcat<=500000] { | ||
[zoom>0][zoom<6] { marker-height: 5; } | ||
[zoom>5][zoom<9] { marker-height: 15; } | ||
[zoom>8][zoom<12] { marker-height: 20; } | ||
[zoom>11] { marker-height: 40; } | ||
[score<15] { marker-line-color: #253494; marker-fill: #2C7FB8; } | ||
[score>=15][score<20] { marker-line-color: #253494; marker-fill: #41B6C4; } | ||
[score>=20][score<25] { marker-line-color: #253494; marker-fill: #7FCDBB; } | ||
[score>=25][score<30] { marker-line-color: #253494; marker-fill: #C7E9B4; } | ||
[score>=30] { marker-line-width: 2; marker-line-color: #253494; marker-fill: #FFFFCC; } | ||
} | ||
|
||
[popxcat>500000] { | ||
[zoom>0][zoom<5] { marker-height: 10; } | ||
[zoom>4][zoom<9] { marker-height: 20; } | ||
[zoom>8][zoom<12] { marker-height: 30; } | ||
[zoom>11] { marker-height: 50; } | ||
[score<15] { marker-line-color: #253494; marker-fill: #2C7FB8; } | ||
[score>=15][score<20] { marker-line-color: #253494; marker-fill: #41B6C4; } | ||
[score>=20][score<25] { marker-line-color: #253494; marker-fill: #7FCDBB; } | ||
[score>=25][score<30] { marker-line-color: #253494; marker-fill: #C7E9B4; } | ||
[score>=30] { marker-line-width: 2; marker-line-color: #253494; marker-fill: #FFFFCC; } | ||
} | ||
marker-allow-overlap: true; /* allow markers to overlap */ | ||
marker-opacity: .6; /* set the marker to 60% opacity */ | ||
marker-line-opacity: .8; /* set the line to 80% opacity */ | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/home/wboykinm/Documents/MapBox/cache/1aa2d236-10m-admin-0-countries |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/home/wboykinm/Documents/MapBox/data |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
Map { | ||
background-color: #b8dee6; | ||
} | ||
|
||
#countries { | ||
::outline { | ||
line-color: gray; | ||
line-width: 2; | ||
line-join: round; | ||
} | ||
polygon-fill: #fff; | ||
} | ||
|
||
.poly { | ||
line-width: 0.5; | ||
line-color: #b8dee6; | ||
line-join: round; | ||
line-opacity:0.8; | ||
} |
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"bounds": [ | ||
-180, | ||
-85.05112877980659, | ||
180, | ||
85.05112877980659 | ||
], | ||
"center": [ | ||
-97.2509765625, | ||
42.342305278572816, | ||
5 | ||
], | ||
"format": "png", | ||
"interactivity": false, | ||
"minzoom": 0, | ||
"maxzoom": 22, | ||
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over", | ||
"Stylesheet": [ | ||
"style.mss" | ||
], | ||
"Layer": [ | ||
{ | ||
"id": "countries", | ||
"name": "countries", | ||
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over", | ||
"geometry": "polygon", | ||
"Datasource": { | ||
"file": "http://mapbox-geodata.s3.amazonaws.com/natural-earth-1.3.0/cultural/10m-admin-0-countries.zip", | ||
"type": "shape" | ||
} | ||
}, | ||
{ | ||
"geometry": "polygon", | ||
"name": "wind", | ||
"id": "wind", | ||
"srs": "+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over", | ||
"class": "poly", | ||
"Datasource": { | ||
"file": "/home/wboykinm/Documents/MapBox/data/usa_wind_wm.zip", | ||
"id": "wind", | ||
"project": "usa_wind", | ||
"srs": null | ||
} | ||
} | ||
], | ||
"name": "ConUS Wind Power" | ||
} |