-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
58 lines (49 loc) · 1.94 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
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no" />
<title>EdinburghJS Meetup ArcGIS Maps SDK Demo</title>
<style>
html,
body,
#viewDiv {
padding: 0;
margin: 0;
height: 100%;
width: 100%;
}
#basemapStyles {
width: 250px;
padding: 10px;
}
.esri-feature {
letter-spacing: 0em;
line-height: 1.55rem;
font-feature-settings: "liga"1, "calt"0;
background: #fff;
padding: 1em;
}
</style>
<link rel="stylesheet" href="https://js.arcgis.com/4.28/esri/themes/light/main.css">
<link rel="stylesheet" type="text/css" href="https://js.arcgis.com/calcite-components/1.10.0/calcite.css" />
<script type="module" src="https://js.arcgis.com/calcite-components/1.10.0/calcite.esm.js"></script>
<script src="https://js.arcgis.com/4.28/"></script>
<script src="index.js"></script>
</head>
<body>
<div id="viewDiv" class="esri-widget"></div>
<div id="basemapGalleryDiv"></div>
<calcite-action-pad id="calciteActionPad">
<calcite-action id="addLayer" text="Add tree layer" icon="add-layer"></calcite-action>
<calcite-action id="commonAreas" text="Find common areas" icon="overlap-features"></calcite-action>
<calcite-action id="clustering" text= "Cluster data" icon="clustering"></calcite-action>
<calcite-action id="removeClustering" text= "Remove cluster effect" icon="analysis"></calcite-action>
<calcite-action id="reset" text="Reset" icon="reset"></calcite-action>
<calcite-tooltip slot="expand-tooltip">Toggle Action Bar</calcite-tooltip>
</calcite-action-pad>
<calcite-alert id="alert" icon="smile" kind="success" label="Overlap and trees found">
<div id="alertTitle" slot="title">Overlap found! </div>
<div slot="message"></div>
</calcite-alert>
</body>
</html>