-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathhome.html
More file actions
59 lines (55 loc) · 1.94 KB
/
home.html
File metadata and controls
59 lines (55 loc) · 1.94 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>OpenLayers</title>
<style>
@import "node_modules/ol/ol.css";
.dropdown-menu {
display: none;
position: absolute;
background-color: #f9f9f9;
border: 1px solid #ccc;
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.16), 0 2px 10px 0 rgba(0, 0, 0, 0.12);
}
.dropdown-menu.show {
display: block;
}
</style>
<link rel="stylesheet" href="./styles/styleforhome.css"/>
</head>
<body>
<div id="map-ui">
<div id="compass"></div>
<div id="map-container"></div>
</div>
<div class="top-bar">
<div class="heading">Command and Controls</div>
<div class="button-group">
<button class="dropdown-toggle" data-toggle="dropdown">Dropdown 1</button>
<div class="dropdown-menu">
<button id="dropdown1-option1">Option 1</button>
<button id="dropdown1-option2">Option 2</button>
<button id="dropdown1-option3">Option 3</button>
</div>
<button class="dropdown-toggle" data-toggle="dropdown">Dropdown 2</button>
<div class="dropdown-menu">
<button id="dropdown2-option1">Option 1</button>
<button id="dropdown2-option2">Option 2</button>
<button id="dropdown2-option3">Option 3</button>
</div>
<button class="dropdown-toggle" data-toggle="dropdown">Map functions</button>
<div class="dropdown-menu">
<button id="load-geojson">Load GeoJSON</button>
<button id="draw-polygon">Draw Polygon</button>
<button id="draw-point">Draw Point</button>
<button id="disable-draw">Disable Draw</button>
<button id="save-geojson">Save as GeoJSON</button>
<button id="print">Print</button>
</div>
<button class="logout" id="logout">Logout</button>
</div>
</div>
<script src="./Script/home.js" type="module"></script>
</body>
</html>