11< html >
22< head >
3- < title > 02_GitHub-Data </ title >
3+ < title > 03_cartoCSS-tilemill </ title >
44 < meta charset ="utf-8 " /> < meta name ="viewport " content ="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=0 " />
55 < link href ='../big.css ' rel ='stylesheet ' type ='text/css ' />
66 < style >
8484</ head >
8585< body >
8686 < div > Part 3: CartoCSS & TileMill</ div >
87- < div > < h2 > What?</ h2 >
87+ < div > What are we doing</ div >
88+ < div > Making a map!</ div >
89+ < div > < h2 > What really?</ h2 >
8890 < ol >
8991 < li > Style a map</ li >
9092 < li > Get, create, & edit data for the web</ li >
@@ -100,6 +102,7 @@ <h2>Goals:</h2>
100102 < li > Basic understanding of styling with cartoCSS</ li >
101103 < li > Be able to create interactive map tiles in TileMill </ li >
102104 < li > Add interactive tile map on top of basemap with mapbox.js</ li >
105+ < li > Create a map with Leaflet and GeoJSON</ li >
103106 </ ul >
104107 </ div >
105108 < div > What is CartoCSS?</ div >
@@ -127,12 +130,8 @@ <h2>Goals:</h2>
127130 < div data-bodyclass ="carto-ref3 "> </ div >
128131 < div data-bodyclass ="carto-ref4 "> </ div >
129132 < div data-bodyclass ="carto-ref5 "> </ div >
130- < div > Read on a painter's model</ div >
131- < div class ="center-text "> < p > < em > top</ em > < br > ↓< br > < em > bottom</ em > </ p > </ div >
132- < div > You can stack styles for the same layer</ div >
133- < div data-bodyclass ="carto-multi "> </ div >
134133 < div > What is TileMill?</ div >
135- < div > Map design program</ div >
134+ < div > Map < em > design</ em > program</ div >
136135 < div > Can handle a variety of geographic data formats</ div >
137136 < div >
138137 < h2 > Vector</ h2 >
@@ -170,8 +169,38 @@ <h4>Exports to a variety of formats</h4>
170169 </ ul >
171170 </ div >
172171 < div > Activity 1: Make an interactive choropleth map with TileMill</ div >
172+
173173 < div > Activity 2: Put our choropleth on top of a basemap</ div >
174+ < div > Data: < code > ./data/prepared/< em > lucasCo_hungarian_tracts.geojson</ em > </ code > </ div >
175+ < div > Set up a simple server in python</ div >
176+ < div >
177+ < ol >
178+ < li > open command prompt
179+ < ul >
180+ < li > Windows: cmd</ li >
181+ < li > Mac: Terminal</ li >
182+ </ ul >
183+ </ li >
184+ < li > Change directory to where you're storing files < br > < span style ="font-size: x-large; "> (If you're following along, this is where you downloaded the os-webmap-workshop repo to)</ span > </ li >
185+ < li > < code > python -m SimpleHTTPServer</ code > </ li >
186+ < li > Browser: < code > 127.00.1:8000</ code > </ li >
187+ </ ol >
188+ </ div >
189+ < div > Steps:< br > < code > .maps/steps/lucasCo_hungarian-steps.html</ code > </ div >
174190 < div > Activity 3: Remake the whole map using geoJSON & Leaflet</ div >
191+ < div > Data:< br > < code > ./data/prepared/< em > lucasCo_hungarian_tracts.geojson</ em > </ code > </ div >
192+
193+ < div > What did we do?</ div >
194+ < div >
195+ < ul >
196+ < li > Learned about < em > CartoCSS & TileMill</ em > </ li >
197+ < li > Used TileMill to make an < em > interactive choropleth</ em > map and < em > export it to Mapbox</ em > </ li >
198+ < li > Added our interactive choropleth map < em > on top of a tile basemap with MapboxJS</ em > </ li >
199+ < li > Created a choropleth map < em > using GeoJSON data and Leaflet</ em > </ li >
200+ </ ul >
201+ </ div >
202+
203+
175204
176205</ body >
177206</ html >
0 commit comments