-
Notifications
You must be signed in to change notification settings - Fork 11
/
index.html
125 lines (113 loc) · 4.25 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no, minimal-ui' />
<title>UAV Mapping Arena</title>
<link rel="stylesheet" href="./libs/leaflet/leaflet.css" />
<script src="./libs/leaflet/leaflet.js"></script>
<script src="./libs/leaflet-side-by-side.js"></script>
<link rel="stylesheet" href="./libs/bootstrap.min.css" />
<style>
body {
margin: 0;
padding: 0;
}
#map {
position: absolute;
top: 54px;
bottom: 0;
width: 100%;
}
#controls {
padding: 8px;
border-bottom: 1px solid black;
position: absolute;
top: 0;
height: 54px;
width: 100%;
overflow: hidden;
}
.dropdown-menu{
z-index: 100000;
}
.w-40{
width: 40%;
}
#note{
position: absolute;
bottom: 0;
left: 0;
font-size: 70%;
z-index: 1000000;
background: white;
padding: 2px;
opacity: 0.8;
}
#btnInfo{
position: absolute;
top: 60px;
right: 8px;
background: white;
box-shadow: 1px 1px 4px -2px #000;
z-index: 1000000;
}
</style>
</head>
<body>
<button id="btnInfo" type="button" class="btn btn-default btn-sm" data-toggle="modal" data-target="#infoModal">
Info
</button>
<div class="modal fade" id="infoModal" tabindex="-1" role="dialog" aria-labelledby="infoModalLabel" aria-hidden="true">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<h5 class="modal-title" id="infoModalLabel">Data Information</h5>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span aria-hidden="true">×</span>
</button>
</div>
<div class="modal-body">
These results have been processed for each software using using “medium quality” / default settings, 2 cm/px resolution (if it was available, otherwise highest allowed).<br/><br/>
Please note that each software has settings that can most likely improve quality. This is meant to be a visual comparison of
results obtained with the defaults.<br/><br/>
<small><b>Disclaimer:</b> while we seek to be impartial, this application was built by <a href="https://community.opendronemap.org/t/lets-compare-odm-data-challenge-earn-a-badge">ODM contributors</a>.</small>
</div>
<div class="modal-footer">
<button type="button" class="btn btn-secondary" data-dismiss="modal">OK</button>
</div>
</div>
</div>
</div>
<div id="note">
Made with ❤️ by <a target="_blank" href="https://opendronemap.org">OpenDroneMap Contributors</a>. Edit this on <a target="_blank" href="https://github.com/OpenDroneMap/uavarena">GitHub</a>.
</div>
<div id="controls">
<div class="row">
<div class="col-3 col-sm-2 text-left">
<select class="custom-select" id="leftEngine">
</select>
</div>
<div class="col-6 col-sm-8 text-center">
<select class="custom-select w-40" id="dataset">
</select>
<select class="custom-select w-40" id="product">
<option value="orthophoto">Orthophoto</option>
<option value="dsm">DSM</option>
</select>
</div>
<div class="col-3 col-sm-2 text-right float-right">
<select class="custom-select" id="rightEngine">
</select>
</div>
</div>
</div>
<div id='map'></div>
<script>
</script>
<script src="./libs/jquery-3.5.0.slim.min.js"></script>
<script src="./libs/popper.min.js"></script>
<script src="./libs/bootstrap.min.js"></script>
<script src="./main.js"></script>
</body>
</html>