-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
182 lines (159 loc) · 7.37 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
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>Web Mapping 101</title>
<link rel="stylesheet" href="bootstrap/css/bootstrap.min.css">
<link rel="stylesheet" href="RevealJS/css/reveal.css">
<link rel="stylesheet" href="RevealJS/css/theme/black.css">
<link rel="stylesheet" href="RevealJS/css/style.css">
<!-- Theme used for syntax highlighting of code -->
<link rel="stylesheet" href="RevealJS/lib/css/zenburn.css">
<!-- Printing and PDF exports -->
<script>
var link = document.createElement( 'link' );
link.rel = 'stylesheet';
link.type = 'text/css';
link.href = window.location.search.match( /print-pdf/gi ) ? 'RevealJS/css/print/pdf.css' : 'RevealJS/css/print/paper.css';
document.getElementsByTagName( 'head' )[0].appendChild( link );
</script>
</head>
<body>
<div class="reveal">
<div class="slides">
<section>
<h1>Web Mapping 101</h1>
<h4 style="color: red;">covering:</h4>
<ul>
<li>elements of a JS application</li>
<li>JS map APIs</li>
<li>best practise guidelines</li>
<li>debugging</li>
<li>Web AppBuilder</li>
</ul>
</section>
<section data-background="images/malcolmturnbull.jpg">
<div style="background-color: #fff">
<h4 style="color: red; margin-top: 400px">There has never been a more exciting time...</h4>
</div>
<p class="fragment">JS mapping APIs, browsers & debugging tools<br>are all mature and reliable</p>
</section>
<section>
<section>
<h4>Elements of a JavaScript map</h4>
<iframe data-src="http://leafletjs.com/examples/quick-start/" width="1280" height="800" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:3px solid #666; margin-bottom:5px; max-width: 100%; background-color: #fff" allowfullscreen> </iframe>
</section>
<section>
<h4>ArcGIS sandbox environment</h4>
<iframe data-src="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=map_simple" width="1280" height="600" frameborder="0" marginwidth="0" marginheight="0" scrolling="no" style="border:3px solid #666; margin-bottom:5px; max-width: 100%;" allowfullscreen> </iframe>
<p><small>NB: examples do not illustrate best practice</small></p>
</section>
</section>
<section>
<section data-background="#fff">
<h3>Choosing a mapping API</h3>
<div class="container">
<div class="row">
<div class="col-md-5">
<h4>LeafletJS</h4>
<img style="border: none; box-shadow: none;" src="images/switchblade.png">
</div>
<div class="col-md-4">
<h4>ArcGIS Server JS</h4>
<img style="border: none; box-shadow: none;" src="images/swiss-army-knife.jpg">
</div>
</div>
</div>
</section>
<section data-background="#fff">
<iframe src="http://leafletjs.com/reference-1.0.0.html" width="1280" height="800" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:3px solid #666; margin-bottom:5px; max-width: 100%;" allowfullscreen></iframe>
</section>
<section data-background="#fff">
<iframe src="https://developers.arcgis.com/javascript/3/jsapi/" width="1280" height="800" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:3px solid #666; margin-bottom:5px; max-width: 100%;" allowfullscreen></iframe>
</section>
</section>
<section>
<h3>Data types</h3><br>
<h4 style="color: red;">Feature layer</h4>
<p>point, line or polygon, downloaded to the client browser</p>
<span class="fragment">
<h4 style="color: red;">Tiled layer</h4>
<p>pre-cached images using nested tiles</p>
</span>
<span class="fragment">
<h4 style="color: red;">Dynamic layer</h4>
<p>images rendered on the server at run-time</p>
</span>
</section>
<section>
<section>
<h3>Events</h3>
<p>Respond with an <span class="highlight">action</span> when an <span class="highlight">event</span> occurs</p>
</section>
<section data-background="#fff">
<iframe src="http://leafletjs.com/reference-1.0.0.html#map-event" width="1280" height="800" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:3px solid #666; margin-bottom:5px; max-width: 100%;" allowfullscreen></iframe>
</section>
<section data-background="#fff">
<iframe src="https://developers.arcgis.com/javascript/3/sandbox/sandbox.html?sample=fl_hover" width="1280" height="800" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:3px solid #666; margin-bottom:5px; max-width: 100%;" allowfullscreen></iframe>
</section>
</section>
<section>
<h3>Debugging</h3>
<a target="_blank" href="examples/flHover/index.html"><img src="images/debugging.png" style="border: none; box-shadow: none;"></a>
</section>
<section>
<section>
<h2>ArcGIS Web AppBuilder</h2>
<ul>
<li>ready to use out-of-the-box*</li>
<li>collection of widgets built-in</li>
<li>more widgets shared by users</li>
</ul>
<p style="margin-top: 50px;"><em>* but remember the 80/20 rule</em></p>
</section>
<section data-background="#fff">
<iframe src="https://developers.arcgis.com/web-appbuilder/guide/xt-welcome.htm" width="1280" height="800" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes" style="border:3px solid #666; margin-bottom:5px; max-width: 100%;" allowfullscreen></iframe>
</section>
<section data-background="#fff">
<h4>Local Layer widget</h4>
<ul>
<li>Web AppBuilder expects data to be stored in ArcGIS Online or Portal for ArcGIS</li>
<li>use <a target="_blank" href="https://github.com/cmndrbensisko/LocalLayer">Local Layer widget</a> to define layers directly from ArcGIS Server:</li>
</ul>
<img style="border: none; box-shadow: none;" src="images/localLayer.png">
</section>
<section data-background="#fff">
<h4>Example - Motor Supplier Footprint map</h4>
<a target="_blank" href="https://vmgeospatialdev.erga.auiag.corp/iagviewer/portfolio/enterprise_ops/supply_chain/motor_footprint_1610/"><img src="images/MotorSupplierFootprint.png" style="border: none; box-shadow: none;"></a>
</section>
</section>
<section>
<img src="images/orly-stack-overflow.jpg">
<ul>
<li>explore Leaflet and ArcGIS demos</li>
<li>experiment with building a map</li>
<li>ask for assistance</li>
</ul>
</section>
</div>
</div>
<script src="RevealJS/lib/js/head.min.js"></script>
<script src="RevealJS/js/reveal.js"></script>
<script src="bootstrap/js/jquery-3.1.1.min.js"></script>
<script src="bootstrap/js/bootstrap.min.js"></script>
<script>
// More info https://github.com/hakimel/reveal.js#configuration
Reveal.initialize({
history: true,
// More info https://github.com/hakimel/reveal.js#dependencies
// dependencies: [
// { src: 'RevealJS/plugin/markdown/marked.js' },
// { src: 'RevealJS/plugin/markdown/markdown.js' },
// { src: 'RevealJS/plugin/notes/notes.js', async: true },
// { src: 'RevealJS/plugin/highlight/highlight.js', async: true, callback: function() { hljs.initHighlightingOnLoad(); } }
// ]
});
</script>
</body>
</html>