forked from OpenDroneMap/UAVArena
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathindex.html
149 lines (137 loc) · 4.92 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
<!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>
<script src="./libs/leaflet-sync.js"></script>
<link rel="stylesheet" href="./libs/bootstrap.min.css" />
<style>
body {
width: 100%;
height: 100%;
margin: 0;
padding: 0;
}
#sideBySideMap {
position: absolute;
top: 54px;
bottom: 0;
width: 100%;
}
#syncMap1 {
position: absolute;
top: 54px;
bottom: 0;
left: 0;
width: 50%;
/* float: left; */
}
#syncMap2 {
position: absolute;
top: 54px;
bottom: 0;
right: 0;
width: 50%;
/* float: right; */
}
#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;
}
#controlBtns{
position: absolute;
top: 60px;
right: 8px;
z-index: 1000000;
}
</style>
</head>
<body>
<div id="controlBtns">
<button id="btnChangeComparison" type="button" data-comparison="sideBySide" class="btn btn-light btn-sm">
Switch to synced comparison
</button>
<button id="btnInfo" type="button" class="btn btn-light btn-sm" data-toggle="modal" data-target="#infoModal">
Info
</button>
</div>
<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="sideBySideMap"></div>
<div id="syncMap1"></div>
<div id="syncMap2"></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>