-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
168 lines (163 loc) · 5.1 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
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"/>
<title>National Park Visitation Statistics</title>
<script type="module" src="https://unpkg.com/@esri/[email protected]/dist/calcite/calcite.esm.js"></script>
<script nomodule="" src="https://unpkg.com/@esri/[email protected]/dist/calcite/calcite.js"></script>
<link rel="stylesheet" href="https://unpkg.com/@esri/[email protected]/dist/calcite/calcite.css" />
<link rel="stylesheet" href="https://js.arcgis.com/4.23/esri/css/main.css">
<link rel="stylesheet" href="app/main.css">
<script>
var locationPath = location.pathname.replace(/\/[^\/]+$/, "");
window.dojoConfig = {
packages: [
{
name: "app",
location: locationPath + "/app"
}
]
};
</script>
<script src="https://js.arcgis.com/4.23/"></script>
</head>
<body>
<script>require(["app/main"]);</script>
<div id="mainViewDiv" class="esri-widget"></div>
<div id="akViewDiv" class="esri-widget"></div>
<div id="hiViewDiv" class="esri-widget"></div>
<div id="viViewDiv" class="esri-widget"></div>
<div id="controls"></div>
<div id="title" class="esri-widget">
<div id="name">
National park visits
</div>
<div id="titleText"><span id="annual-visits"></span> visits in <span class="emphasis" id="year"></span></div>
<div>a <span id="percent-change"></span> change <span id="total-change"></span> from <span id="previous-year"></span></div>
<div class="options">
<calcite-label>
Select a variable
<calcite-radio-group
layout="horizontal"
appearance="solid"
scale="m"
width="auto"
role="radiogroup"
calcite-hydrated=""
id="rendererSelect"
>
<calcite-radio-group-item
value="percent-change"
checked=""
tabindex="0"
appearance="solid"
aria-checked="false"
layout="horizontal"
role="radio"
scale="m"
icon-position="start"
calcite-hydrated=""
>
Percent change
</calcite-radio-group-item>
<calcite-radio-group-item
value="total-change"
appearance="solid"
aria-checked="false"
layout="horizontal"
role="radio"
scale="m"
icon-position="start"
calcite-hydrated=""
>
Total change
</calcite-radio-group-item>
<calcite-radio-group-item
value="bivariate"
appearance="solid"
aria-checked="false"
layout="horizontal"
role="radio"
scale="m"
icon-position="start"
calcite-hydrated=""
>
Total visits
</calcite-radio-group-item>
<input type="hidden" />
</calcite-radio-group>
</calcite-label>
</div>
<div class="options">
<calcite-label>
Select a view
<calcite-radio-group
layout="horizontal"
appearance="solid"
scale="m"
width="auto"
role="radiogroup"
calcite-hydrated=""
id="viewSelect"
>
<calcite-radio-group-item
value="all"
checked=""
tabindex="0"
appearance="solid"
aria-checked="false"
layout="horizontal"
role="radio"
scale="m"
icon-position="start"
calcite-hydrated=""
>
All
</calcite-radio-group-item>
<calcite-radio-group-item
value="us"
appearance="solid"
aria-checked="false"
layout="horizontal"
role="radio"
scale="m"
icon-position="start"
calcite-hydrated=""
>
Lower 48
</calcite-radio-group-item>
<calcite-radio-group-item
value="ak"
appearance="solid"
aria-checked="false"
layout="horizontal"
role="radio"
scale="m"
icon-position="start"
calcite-hydrated=""
>
Alaska
</calcite-radio-group-item>
<calcite-radio-group-item
value="hi"
appearance="solid"
aria-checked="false"
layout="horizontal"
role="radio"
scale="m"
icon-position="start"
calcite-hydrated=""
>
Hawaii
</calcite-radio-group-item>
<input type="hidden" />
</calcite-radio-group>
</calcite-label>
</div>
<div id="timeSlider"></div>
<div id="year-picker"></div>
</div>
<div id="feature"><span id="feature-close" class="esri-icon-close"></span></div>
<div id="legend"></div>
</body>
</html>