-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
69 lines (69 loc) · 1.97 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
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1, minimum-scale=1, maximum-scale=1">
<meta http-equiv="X-UA-Compatible" content="IE=Edge">
<meta charset="utf-8">
<title>Esri - Canvas/Tile Layer</title>
<link rel="stylesheet" href="//js.arcgis.com/3.17/esri/css/esri.css">
<link rel="stylesheet" href="//js.arcgis.com/3.17/dijit/themes/claro/claro.css">
<style>
html, body, #map {
overflow: hidden;
height: 100%;
width: 100%;
padding: 0;
margin: 0;
}
.controls {
position: absolute;
background: white;
z-index: 5;
right: 1.5em;
top: 1.5em;
}
.date-slider-container {
margin: 1em;
}
.confidence-level-container {
justify-content: center;
display: flex;
margin: 1em;
}
.confidence-level-container label {
padding-right: 0.5em;
}
</style>
</head>
<body class='claro'>
<div id="map">
<div class="controls">
<div class='date-slider-container'>
<div class="start-date"></div>
<div class="end-date"></div>
<div id="date-slider"></div>
</div>
<div class="confidence-level-container">
<label for="confidence-level">Confidence Level: </label>
<select id="confidence-level">
<option value="all">All</option>
<option value="confirmed">Confirmed only</option>
</select>
</div>
</div>
</div>
<script>
var base = location.href.replace(/\/[^/]+$/, '');
var dojoConfig = {
parseOnLoad: false,
async: true,
packages: [
{ name: 'js', location: base + 'build' }
],
deps: ['dojo/domReady!'],
callback: function () { require(['js/app']); }
};
</script>
<script src='//js.arcgis.com/3.17/init.js' async></script>
</body>
</html>