-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
587 lines (540 loc) · 33.8 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
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
<!DOCTYPE HTML>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Security-Policy" content="
child-src blob:;
connect-src http: https: file:;
font-src 'self';
frame-src 'none';
default-src 'self' data: gap: cdvfile: 'unsafe-eval';
img-src data: blob: filesystem: 'self' http: https: *;
manifest-src *;
media-src *;
object-src resource:;
prefetch-src 'none';
script-src 'self' 'unsafe-inline' 'unsafe-eval' ;
style-src 'self' 'unsafe-inline';
">
<meta name="author" content="Nico Höllerich">
<title>Cirspecte</title>
<link rel="stylesheet" href="assets/js/lib/pannellum/src/css/pannellum.css" />
<link rel="stylesheet" href="assets/css/leaflet.css" />
<link rel="stylesheet" href="assets/css/L.Control.Layers.Tree.css" />
<link rel="stylesheet" href="assets/css/leaflet.control.minimap.css" />
<link rel="stylesheet" href="assets/css/MarkerCluster.css" />
<link rel="stylesheet" href="assets/css/MarkerCluster.Default.css" />
<link rel="stylesheet" href="assets/css/bootstrap.min.css" />
<link rel="stylesheet" href="assets/css/vis-timeline-graph2d.css" />
<link rel="stylesheet" href="assets/css/simple-bars.css" />
<link rel="stylesheet" href="assets/css/styles.css" />
<script type="text/javascript" src="assets/js/lib/platform.js"></script>
<!-- <script src="https://maps.googleapis.com/maps/api/js" async defer></script> -->
<script type="text/javascript" src="assets/js/init.js"></script>
<script src="assets/js/lib/localforage.min.js"></script> <!-- for Leaflet.offline -->
<!-- Make sure you put this AFTER Leaflet's CSS -->
<script src="assets/js/lib/leaflet.js"></script>
<script src="assets/js/Leaflet.control.minimap.js"></script>
<script src="assets/js/lib/Leaflet.offline.js"></script>
<script src="assets/js/lib/L.Control.Layers.Tree.js"></script>
<script src="assets/js/lib/leaflet.markercluster.js"></script>
<script src="assets/js/lib/leaflet.markercluster.layersupport.js"></script>
<script src="assets/js/lib/Leaflet.ImageOverlay.Rotated.js"></script>
<script src="assets/js/lib/Leaflet.AccuratePosition.js"></script>
<script src="assets/js/lib/Leaflet.GoogleMutant.js"></script>
<script src="assets/js/lib/Bing.js"></script>
<script src="assets/js/lib/esri-leaflet.js"></script>
<script type="text/javascript" src="assets/js/lib/pannellum/src/js/libpannellum.js"></script>
<script type="text/javascript" src="assets/js/lib/pannellum/src/js/pannellum.js"></script>
<script type="text/javascript" src="assets/js/lib/jquery.min.js"></script>
<script type="text/javascript" src="assets/js/lib/popper.js"></script>
<script type="text/javascript" src="assets/js/lib/moment-with-locales.min.js"></script>
<script type="text/javascript">
// auto-detect language setting for date formatting
moment.locale(window.navigator.userLanguage || window.navigator.language);
</script>
<script type="text/javascript" src="assets/js/lib/bootstrap.min.js"></script>
<script type="text/javascript" src='assets/js/lib/knockout-3.4.2.js'></script>
<script type="text/javascript" src="assets/js/lib/knockout.mapping-latest.js"></script>
<script type="text/javascript" src="assets/js/lib/priority-queue.min.js"></script>
<script type="text/javascript" src="assets/js/lib/Rx.min.js"></script>
<script type="text/javascript" src="assets/js/lib/Rx.webworker.min.js"></script>
<script type="text/javascript" src="assets/js/lib/exif.js"></script>
<script type="text/javascript" src="assets/js/lib/vis-timeline-graph2d.min.js"></script>
<script type="text/javascript" src="assets/js/lib/geodesy/dms.js"></script>
<script type="text/javascript" src="assets/js/lib/geodesy/vector3d.js"></script>
<script type="text/javascript" src="assets/js/lib/geodesy/latlon-ellipsoidal.js"></script>
<script type="text/javascript" src="assets/js/lib/geodesy/latlon-vincenty.js"></script>
<script type="text/javascript" src="assets/js/lib/clipboard.min.js"></script>
<script type="text/javascript" src="assets/js/lib/fflate.min.js"></script>
<script type="text/javascript" src="assets/js/lib/threejs/three.js"></script>
<script type="text/javascript" src="assets/js/lib/threejs/DataUtils.js"></script>
<script type="text/javascript" src="assets/js/lib/threejs/RGBELoader.js"></script>
<script type="text/javascript" src="assets/js/lib/threejs/EXRLoader.js"></script>
<script type="text/javascript" src="assets/js/config.js"></script>
<script type="text/javascript" src="assets/js/model.js"></script>
<script type="text/javascript" src="assets/js/configurator.js"></script>
<script type="text/javascript" src="assets/js/logger.js"></script>
<script type="text/javascript" src="assets/js/map.js"></script>
<script type="text/javascript" src="assets/js/panorama.js"></script>
<script type="text/javascript" src="assets/js/timeline.js"></script>
<script type="text/javascript" src="assets/js/navigation.js"></script>
<script type="text/javascript" src="assets/js/filesystem.js"></script>
<script type="text/javascript" src="assets/js/util.js"></script>
<script type="text/javascript" src="assets/js/common.js"></script>
<script type="text/javascript" src="assets/js/index.js"></script>
</head>
<body>
<!--
<nav class="navbar navbar-inverse" id="navigation-bar">
<div class="container-fluid">
<ul class="nav navbar-nav" id="navigation-items">
<li id="nav-home" class="active"><a href="#"><span class="glyphicon glyphicon-home"></span></a></li>
<li id="nav-map-download"><a href="#">Download map</a></li>
</ul>
</div>
</nav>
-->
<div id="right-pane-wrapper">
<div id="right-pane">
<div id="topbar-wrapper" class="fixed">
<div id="topbar">
<div id="topbar-nav">
<ul class="nav navbar-nav">
<li title="Open Settings"><a href="#" class="btn topbar-nav-item" data-toggle="modal" data-target="#settings-dialog"><span class="glyphicon glyphicon-cog"></span></a></li>
<li title="Open Help"><a href="#" class="btn topbar-nav-item" data-toggle="modal" data-target="#help-dialog"><span class="glyphicon glyphicon-question-sign"></span></a></li>
<li title="Open Errors">
<a href="#" class="btn topbar-nav-item" data-toggle="modal" data-target="#logs-dialog">
<span class="glyphicon glyphicon-alert"> </span>
<span id="log-count" class="badge" data-bind="visible: hasLogs, text: logCount"></span>
</a>
</li>
</ul>
</div>
<div id="navigation-header">
<div class="left">
<span class="glyphicon glyphicon-chevron-left" style="display: none"></span>
<span class="text" style="display: none"></span>
</div>
<div class="center">
<span class="text" style="display: none"></span>
</div>
<div class="right">
<span class="text" style="display: none"></span>
<span class="glyphicon glyphicon-chevron-right" style="display: none"></span>
</div>
</div>
</div>
</div>
<!-- Center Pane -->
<div id="center-pane-wrapper">
<div class="container-fluid" id="content">
<div id="panorama"></div>
<div class="widget-map">
<label id="widget-minimap-caption" style="display: none;">Satellit</label>
<div id="map"></div>
</div>
</div>
</div>
<!-- /#center-pane-wrapper -->
<div id="bottombar-wrapper" class="collapsed">
<div title="Open Timeline" href="#" id="bottombar-expander" onclick="$('#bottombar-wrapper').removeClass('collapsed'); $('#bottombar-expander').hide()"><span class="glyphicon glyphicon-menu-up fill"></span></div>
<div id="bottombar">
<a title="Close Timeline" href="#" id="bottombar-collapser" onclick="$('#bottombar-wrapper').addClass('collapsed'); $('#bottombar-expander').show()"><span class="glyphicon glyphicon-menu-down"></span></a>
<div id="timeline"></div>
</div>
</div>
</div>
<!-- /#right-pane -->
</div>
<!-- /#right-pane-wrapper -->
<!-- #select-directory-dialog -->
<div id="select-directory-dialog" class="modal fade" role="dialog" tabindex="-1" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div id="select-directory-dialog-header" class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<button type="button" class="help" data-toggle="modal" data-target="#help-dialog">?</button>
<h3 data-bind="visible: workspace">Select project directory</h3>
<h3 data-bind="visible: !workspace">Select a directory</h3>
</div>
<div class="modal-body">
<div>
<section id="workspace-droparea">
<div dropzone="" webkitdropzone="copy file:image/png file:image/gif file:image/jpeg file:image/webp file:image/avif file:application/json" class="centerall">
Drop directory here
</div>
</section>
</div>
<div class="btn-center-spaced">
<label class="btn btn-primary" id="workspace-directory-selector">
Open native file dialog
</label>
</div>
</div>
</div>
</div>
</div>
<!-- /#select-directory-dialog -->
<!-- #webkit-select-workspace-dialog -->
<div id="webkit-select-workspace-dialog" class="modal fade" role="dialog" tabindex="-1" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div id="webkit-select-workspace-dialog-header" class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<button type="button" class="help" data-toggle="modal" data-target="#help-dialog">?</button>
<h3>Select project directory</h3>
</div>
<div class="modal-body">
<div data-bind="visible: allowsDrop">
<section id="webkit-workspace-droparea">
<div dropzone="" webkitdropzone="copy file:image/png file:image/gif file:image/jpeg file:image/webp file:image/avif file:application/json" class="centerall">
Drop directory here
</div>
</section>
</div>
<div data-bind="visible: allowsDirectorySelect">
<label class="btn btn-primary btn-center-spaced" for="webkit-workspace-directory-selector">
<input id="webkit-workspace-directory-selector" type="file" style="display: none;" multiple directory webkitdirectory="">
Open native file dialog
</label>
<p></p>
</div>
<div data-bind="visible: !allowsDrop && !allowsDirectorySelect" style="display: none;">
<label class="btn btn-primary btn-center-spaced" for="webkit-workspace-files-selector">
<input id="webkit-workspace-files-selector" type="file" multiple style="display: none;">
Select files
</label>
<p>Select all files in project directory</p>
</div>
</div>
</div>
</div>
</div>
<!-- /#webkit-select-workspace-dialog -->
<!-- #settings-dialog -->
<div id="settings-dialog" class="modal fade" role="dialog" tabindex="-1" aria-hidden="true" style="display: none;">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<button type="button" class="help" data-toggle="modal" data-target="#help-dialog">?</button>
<h4>Settings</h4>
</div>
<div class="modal-body">
<div class="form-horizontal">
<div class="checkbox">
<label class="control-label" for="hide-map-checkbox">
<input type="checkbox" data-bind="checked: hideMap" id="hide-map-checkbox">
Hide the map
</label>
</div>
<div class="checkbox" data-bind="visible: platform.isBrowser">
<label class="control-label" for="fullscreen-checkbox">
<input type="checkbox" data-bind="checked: fullscreen" id="fullscreen-checkbox">
Fullscreen
</label>
</div>
<div class="checkbox">
<label class="control-label" for="aggregateItems-checkbox">
<input type="checkbox" data-bind="checked: aggregateItems" id="aggregateItems-checkbox">
Aggregate a stack of items in the timeline into one (range item).
</label>
</div>
<div class="checkbox" data-bind="visible: platform.hasOrientationSensor">
<label title="The viewport of the panorama follows the movement of your device" class="control-label" for="enable-orientation-checkbox">
<input type="checkbox" data-bind="checked: enableOrientation" id="enable-orientation-checkbox">
Use orientation sensor
</label>
</div>
<div class="checkbox" data-bind="visible: platform.hasGPSSensor">
<label title="Panoramas are loaded based on your position" class="control-label" for="enable-gps-checkbox">
<input type="checkbox" data-bind="checked: enableGPS" id="enable-gps-checkbox">
Use GPS sensor
</label>
</div>
</div>
<hr>
<h4>Automatically rotate panorama</h4>
<form class="inline-list-stretched" style="margin-bottom: 1rem !important;">
<button id="start-auto-rotate-button" class="btn btn-primary" data-dismiss="modal">Start</button>
<button id="stop-auto-rotate-button" class="btn btn-primary" data-dismiss="modal">Stop</button>
<div class="input-group">
<div class="input-group-addon">
<input data-bind="checked: autoRotateInactivityEnabled" type="checkbox" id="autoRotateInactivityEnabled">
</div>
<div class="input-group-addon">
<label for="autoRotateInactivityEnabled" title="If there is no user interaction with the panorama, the view begins to turn automatically after the specified time.">Always start after</label>
</div>
</div>
</form>
<div class="input-group inline-list-stretched" style="margin-bottom: 1rem !important;">
<input type="range" class="form-range form-control" value="1" min="1" max="30" data-bind="value: autoRotateInactivityDelay, enable: autoRotateInactivityEnabled" style="margin-right: 2rem;">
<input type="number" class="form-control" min="1" step="1" data-bind="value: autoRotateInactivityDelay, enable: autoRotateInactivityEnabled">
<div class="input-group-addon" style="min-width: 11rem;">
<label>s of inactivity</label>
</div>
</div>
<div class="inline-list-stretched" style="margin-bottom: 2rem !important;">
<label class="control-label">Speed</label>
<input type="range" class="form-range" min="-20" max="20" step="0.25" data-bind="value: autoRotateSpeed" style="max-width:70%">
</div>
<h4>Cycle through panoramas</h4>
<form class="inline-list-stretched" style="margin-bottom: 1rem !important;">
<button id="start-cycle-timepoints-button" class="btn btn-primary" data-dismiss="modal">Start</button>
<button id="stop-cycle-timepoints-button" class="btn btn-primary" data-dismiss="modal">Stop</button>
<div class="checkbox">
<label title="Whenever the panorama starts or stops to automatically rotate, the loading of panorams is started or stopped " class="control-label" for="cycle-timepoints-bind-to-auto-rotate">
<input type="checkbox" data-bind="checked: cycleTimepointsBindToAutoRotate" id="cycle-timepoints-bind-to-auto-rotate">
Start and stop with auto rotate
</label>
</div>
</form>
<div class="input-group inline-list-stretched" style="margin-bottom: 1rem !important;">
<input type="range" class="form-range form-control" value="1" min="1" max="10" data-bind="value: cycleTimepointsFadeDuration" style="margin-right: 2rem;">
<input type="number" class="form-control" min="1" step="1" data-bind="value: cycleTimepointsFadeDuration">
<div class="input-group-addon" style="min-width: 9rem;">
<label>s blending</label>
</div>
</div>
<div class="input-group inline-list-stretched" style="margin-bottom: 2rem !important;">
<input type="range" class="form-range form-control" value="1" min="1" max="10" data-bind="value: cycleTimepointsDelay" style="margin-right: 2rem;">
<input type="number" class="form-control" min="1" step="1" data-bind="value: cycleTimepointsDelay">
<div class="input-group-addon" style="min-width: 9rem;">
<label>s waiting</label>
</div>
</div>
</div>
</div>
</div>
</div>
<!-- /#settings-dialog -->
<!-- #help-dialog -->
<div id="help-dialog" class="modal fade" role="dialog" tabindex="-1" aria-hidden="true" style="display: none;">
<div class="modal-dialog modal-lg">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4>Help</h4>
</div>
<div class="modal-body" style="max-height: calc(100vh - 70px); overflow-y: auto;">
<h4>Importing Files</h4>
<p>The first thing to do is importing the directory containing all the image files and the description file (tour.json). The latter one must be a direct child of the chosen directory. Depending on the browser and platform capabilities one can drop a folder, select one via the file chooser window or select a some files.</p>
<p>On <strong>mobile</strong> devices: Click on <kbd>Choose files ...</kbd> and choose <kbd>Documents</kbd>. Next, the file explorer should open. Navigate to the folder containing the panoramas and choose all files (Press on an arbitrary file for 2 seconds → top right <kbd><span class="glyphicon glyphicon-option-vertical"></span></kbd> → <kbd>Choose all</kbd> → <kbd>Open</kbd>)</p>
<h4>Navigation Elements</h4>
<table class="table">
<tbody>
<tr class="row">
<td>
<ul class="nav nav-pills" style="background-color:black; padding:5px">
<li><a class="btn topbar-nav-item" style="padding: 5px;"><span class="glyphicon glyphicon-cog"></span></a></li>
<li><a class="btn topbar-nav-item" style="padding: 5px;"><span class="glyphicon glyphicon-question-sign"></span></a></li>
<li style="">
<a class="btn topbar-nav-item" style="padding: 5px;">
<span class="glyphicon glyphicon-alert"> </span>
</a>
</li>
</ul>
</td>
<td>
<p>
Location: Top left of the screen.
</p><p>
Effect: Opens the popup dialog for settings, help or errors.
</p>
</td>
</tr>
<tr class="row">
<td>
<div class="left" style="background-color:black; color:white">
<span class="glyphicon glyphicon-chevron-left" style=""></span>
<span class="text" style="">2017</span>
</div>
<div class="right" style="background-color:black; color:white">
<span class="text" style="">2019</span>
<span class="glyphicon glyphicon-chevron-right" style=""></span>
</div>
</td>
<td>
<p>
Location: Top left and top right of the screen.
</p><p>
Effect: Switch between panoramas that were shot at the same spot earlier or later in time.
</p>
</td>
</tr>
<tr class="row">
<td>
<div class="float-center" style="left: calc(50% - 15px);
width: 30px;
height: 30px;
color: white;
background-color: black;
display: block;
bottom: 0;"><span class="glyphicon glyphicon-menu-up fill"></span></div>
</td>
<td>
<p>
Location: Center bottom of the screen.
</p><p>
Effect: Shows the timeline.
</p>
</td>
</tr>
<tr class="row">
<td>
<div class="float-center" style="left: calc(50% - 15px);
width: 30px;
height: 30px;
color: white;
background-color: black;
display: block;
bottom: 0;"><span class="glyphicon glyphicon-menu-down fill"></span></div>
</td>
<td>
<p>
Location: Top right on the timeline.
</p><p>
Effect: Collapses the timeline.
</p>
</td>
</tr>
<tr class="row">
<td>
<div class="leaflet-control-minimap leaflet-bar leaflet-control">
<a class="leaflet-control-minimap-button leaflet-bar-part" style="outline: currentcolor none medium;"></a>
<a class="leaflet-control-minimap-button leaflet-bar-part" href="#" title="Shrink to minimap" style="outline: currentcolor none medium;background-position: 0px -25px;"></a>
</div>
</td>
<td>
<p>
Location: Top left on the map.
</p><p>
Effect: Maximizes / minimizes the map and panorama view.
</p>
</td>
</tr>
<tr class="row">
<td>
<svg height="30" width="30">
<path stroke="red" stroke-opacity="1" stroke-width="3" stroke-linecap="round" stroke-linejoin="round" fill="#f03" fill-opacity="0.5" fill-rule="evenodd" style="box-sizing:border-box;
display: inline;
float: none;
line-height: 18px" d="M10,15a4,4 0 1,0 8,0 a4,4 0 1,0 -8,0"></path>
</svg>
</td>
<td>
<p>
Location: Map.
</p><p>
Effect: Shows the panorama at that location.
</p>
</td>
</tr>
<tr class="row">
<td>
<span class="glyphicon glyphicon-menu-up" style="font-size: 4em;color: whitesmoke; background-color:black;"></span>
</td>
<td>
<p>
Location: Panorama view.
</p><p>
Effect: Shows the next panorama in the pointed direction.
</p>
</td>
</tr>
<tr class="row">
<td>
<div class="vis-item vis-point vis-readonly" style="background-color: black;position: relative;"><div class="vis-item-content" style="margin-left: 32px;">2019</div><div class="vis-item vis-dot vis-readonly" style="top: 7px; transform: translateX(8px);"></div></div>
<div class="vis-item vis-point vis-readonly vis-inactive" style="background-color: black;position: relative;margin-top: 4px;"><div class="vis-item-content vis-inactive" style="margin-left: 32px;">2018</div><div style="top: 7px; transform: translateX(8px);" class="vis-item vis-dot vis-readonly vis-inactive"></div></div>
<td>
<p>
Location: Timeline.
</p><p>
Effect: Switches to that moment in time and loads the panorama.
If there is no panorama available for that point in time, then the item is grayed out. When clicking it, the map is updated and one has to manually choose the panorama (by clicking one of the red points).
</tr>
<tr class="row">
<td>
<div class="vis-item vis-range vis-readonly" style=" width: 90px; top: 5px;position: relative;"><div class="vis-item-overflow"><div class="vis-item-content" style="transform: translateX(0px);">2016 - 2019</div></div><div class="vis-item-visible-frame"></div></div>
</td>
<td>
<p>
Location: Timeline.
</p><p>
Aggregated stack of time points. Zoom closer or click to see individual items.
</p>
</td>
</tr>
<tr class="row">
<td>
<div class="savetiles leaflet-bar leaflet-control"><a class="savetiles"><i class="glyphicon glyphicon-download-alt" title="Save tiles"></i></a><a class="rmtiles"><i class="glyphicon glyphicon-trash" aria-hidden="true" title="Remove tiles"></i></a></div>
</td>
<td>
<p>
Location: Top left on the map.
</p><p>
Effect: Store (or delete) the current map view in the browser storage. The map can be viewed offline afterwards (even after restarting the browser or system).
</p>
</td>
</tr>
<tr class="row">
<td>
<div class="leaflet-control-layers leaflet-control" aria-haspopup="true"><a class="leaflet-control-layers-toggle leaflet-layerstree-named-toggle" href="#" title="Layers">Satellite</a></div>
</td>
<td>
<p>
Location: Top right on the map.
</p><p>
Effect: Shows the control for the map layers. "GPS" turns GPS tracking on and shows your current position as a white circle on the map (center + uncertainty radius). "Connections" shows lines between points on the map (you can navigate between those panoramas).
</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- /#help-dialog -->
<!-- #logs-dialog -->
<div id="logs-dialog" class="modal fade" role="dialog" tabindex="-1" aria-hidden="true" style="display: none;">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4>Logs</h4>
</div>
<div class="modal-body" style="max-height: calc(100vh - 200px); overflow-y: auto;">
<div data-bind="foreach: logs">
<div class="alert" data-bind="css:{'alert-danger' : ($data instanceof error), 'alert-warning' : ($data instanceof warning)}">
<span data-bind="text: logger.errorToString($data)"></span>
<a href="#" class="close" data-dismiss="alert" aria-label="close" data-bind="click: () => {$parent.logs.remove($data)}">×</a>
</div>
</div>
</div>
<div class="modal-footer">
<button data-bind="click: clear, visible: hasLogs" class="btn btn-primary" data-dismiss="modal">Clear</button>
</div>
</div>
</div>
</div>
<!-- /#logs-dialog -->
<!-- #save-tiles-dialog -->
<div id="save-tiles-dialog" class="modal fade" role="dialog" tabindex="-1" aria-hidden="true" style="display: none;">
<div class="modal-dialog modal-sm">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4>Saving tiles</h4>
</div>
<div class="modal-body">
Progress: <span id="save-tiles-progress"></span>/<span id="save-tiles-total"></span>
</div>
</div>
</div>
</div>
<!-- /#save-tiles-dialog -->
</body>
</html>