-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
278 lines (214 loc) · 5.65 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="style.css">
<title>web maps</title>
</head>
<body>
<textarea id="source">
layout: true
class: huge-title, inverse, center, middle
---
#so tell me again why we're not using leaflet?
???
`P` for presenter mode.
`C` to open a cloned window.
Go S.L.O.W.
---
layout: false
class: center, middle
# web mapping
---
layout: false
class: inverse, center, middle
# open mapping
---
layout: false
class: center, middle
# what is a map?
---
layout: false
class: inverse, center, middle
# tiles
???
web maps are made up of many small square images called tiles
thanks @mapbox!
---
layout: false
class: center, middle
# quick review
1 tile = 256x256px
number of tiles at zoom level(z) = 4<sup>z</sup>
???
these tiles are typlically 256x256 pixels and are placed
side-by-side in order to create the illusion of a very large seamless image
thanks @mapbox!
each zoom level has its own set of tiles to keep a high resolution map
---
layout: false
class: center, middle
# zoom level 0 = 1 tile

---
layout: false
class: center, middle
# zoom level 1 = 4 tiles

---
layout: false
class: center, middle
# zoom level 2 = 16 tiles

---
layout: false
class: center, middle
# zoom level 3 = 64 tiles

---
layout: false
class: center, middle
#individual tiles are just images
https://a.tiles.mapbox.com/v3/jvrousseau.l059j5gf/4/3/6.png
.tile-image[]
---
layout: false
class: inverse, center, middle
# geojson
there are others, but we will ignore those
---
layout: false
class: center, middle
# quick review
geospatial data format based on json
point, linestring, polygon, multipoint, multilinestring, multipolygon and geometrycollection
feature is a geometry with additional properties
featurecollection is a list of features
---
layout: false
class: inverse, center, middle
# wut?
---
layout: false
class: center, middle
# turn this json

---
layout: false
class: center, middle
# into this map

---
layout: false
class: center, middle
play more with geojson?
# geojson.io
---
layout: false
class: center, middle
that was a terrible overview of mapping?
# mapschool.io
---
layout: false
class: center, middle
# what do we use?

---
layout: false
class: center, middle
# what is mapbox?
???
We create tools for anyone to design and publish custom maps.
Over the last couple of years, our team has built our platform
using open source software and open data.
---
layout: false
class: center, middle
# why do i need leaflet?
---
layout: false
class: hugh-title, inverse, center, middle
# let's look at some maps!
[leaflet only](/okcjs-mapping/demo/leaflet.html)
[mapbox only](/okcjs-mapping/demo/mapbox.html)
[now we are on to something](/okcjs-mapping/demo/)
---
layout: false
class: inverse, center, middle
#maps tell stories
---
layout: false
class: center, middle
#powerful stories

---
layout: false
class: inverse, center, middle
#tragic stories

[boston.com](http://www.boston.com/news/local/massachusetts/specials/boston_marathon_bombing_stories/)
---
layout: false
class: center, middle
#billions of stories

[mapbox.com](https://www.mapbox.com/blog/twitter-map-every-tweet/)
---
layout: false
class: inverse, center, middle
#maps need better data
---
layout: false
class: inverse, center, middle
#assist in humanitarian crises

[hotosm.org](http://hotosm.org/)
---
layout: false
class: inverse, center, middle
#assist in mapping your city

[osm.org](http://www.openstreetmap.org/edit?relation=185048#map=18/35.47808/-97.51949)
---
layout: false
class: inverse, center, middle
# all were created using leaflet
there is so much more!
---
layout: false
class: center, middle
#where do i start?
create a free account on mapbox.com (for basemaps).
check out leafletjs.com and mapbox.com/mapbox.js
create an account on openstreetmap.org (and edit some maps)
check out googlemapsmania.blogspot.com
download mapbox studio
---
layout: false
class: inverse, center, middle
# questions?
@jvrousseau
jv.rousseau@outlook.com
github.com/jvrousseau
rousseau.io/okcjs-mapping
---
layout: false
class: inverse, center, middle
#other demos
[global obs](/okcjs-mapping/demo/turf-obs/obs.html)
[hex grid](/okcjs-mapping/demo/turf-obs/hex.html)
</textarea>
<script src="remark.min.js" type="text/javascript"></script>
<script type="text/javascript">
var hljs = remark.highlighter.engine;
</script>
<!--<script src="js/remark.language.js" type="text/javascript"></script>-->
<script type="text/javascript">
var slideshow = remark.create({
ratio: '4:3',
highlightStyle: 'tomorrow',
highlightLanguage: 'remark'
});
</script>
</body>
</html>