-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
46 lines (43 loc) · 1.57 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1,maximum-scale=1,user-scalable=no"/>
<title>Where Did the Wine Go?</title>
<link rel="stylesheet" href="https://js.arcgis.com/4.11/esri/themes/light/main.css"/>
<link rel="stylesheet" href="./main.css"/>
<script src="https://www.amcharts.com/lib/3/amcharts.js"></script>
<script src="https://www.amcharts.com/lib/3/serial.js"></script>
<script src="https://www.amcharts.com/lib/3/pie.js"></script>
<script src='https://unpkg.com/@esri/cedar@1.0.0-beta.2/dist/umd/cedar.js'></script>
<script src='https://unpkg.com/@esri/cedar@1.0.0-beta.2/dist/umd/themes/amCharts/calcite.js'></script>
<script src="https://js.arcgis.com/4.11/"></script>
<script type="text/plain" id="amenities">
var i = 0;
var features = [];
if ($feature.TastingRoo != " ") {
features[i++] = "-Tasting Room Onsite";
}
if ($feature.GroupTour != " ") {
features[i++] = "-Tours Available";
}
if ($feature.PicnicArea != " ") {
features[i++] = "-Picnic Area Onsite";
}
if ($feature.FoodAvaila != " ") {
features[i++] = "-Food Available Onsite";
}
return Concatenate(features, TextFormatting.NewLine)
</script>
<script></script>
<script src='./main.js'></script>
</head>
<body>
<div id="title">
<h1>Where Did the Wine Go? 🍷🤔</h1>
</div>
<div id="viewDiv"></div>
<div id="bar-chart"></div>
<div id="pie-chart"></div>
</body>
</html>