-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
84 lines (71 loc) · 2.73 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
<!DOCTYPE html>
<html>
<head>
<title>Mobile tutorial - Leaflet</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="shortcut icon" type="image/x-icon" href="docs/images/favicon.ico" />
<link rel="stylesheet" type="text/css" href="app.css" />
<link rel="stylesheet" href="https://unpkg.com/leaflet@1.6.0/dist/leaflet.css"
integrity="sha512-xwE/Az9zrjBIphAcBb3F6JVqxf46+CDLwfLMHloNu6KEQCAWi6HcDUbeOfBIptF7tcCzusKFjFw2yuvEpDL9wQ=="
crossorigin="" />
<script src="https://unpkg.com/leaflet@1.6.0/dist/leaflet.js"
integrity="sha512-gZwIG9x3wUXg2hdXF6+rVkLF/0Vi9U8D2Ntg4Ga5I5BZpVkVxlJWbSQtXPSiUTtC0TjtGOmxa1AJPuV0CPthew=="
crossorigin=""></script>
<script type="module">
import AudioRecorder from 'https://cdn.jsdelivr.net/npm/audio-recorder-polyfill/index.js';
window.MediaRecorder = AudioRecorder;
</script>
<script src="https://apis.google.com/js/platform.js" async defer></script>
<meta name="google-signin-client_id" content="112249671211-bn9ns4deilhr4mc7ktb5fmamjc3h36nt.apps.googleusercontent.com">
<style>
html,
body {
height: 100%;
margin: 0;
}
#map {
width: 600px;
height: 400px;
}
</style>
<style>
body {
padding: 0;
margin: 0;
}
#map {
height: 100%;
width: 100vw;
}
</style>
</head>
<body>
<div class="g-signin2" data-onsuccess="onSignIn"></div>
<a href="#" onclick="signOut();">Sign out</a>
<div class="modal" id="pin_form">
<div class="modal-content">
<span class="close">×</span>
<h2>Add a Pin</h2>
<label for="description">Description:</label><br>
<input type="text" id="description"><br>
<label for="tip_hint">Hints:</label><br>
<input type="text" id="tip_hint"><br>
<label for="destination">Destination:</label><br>
<input type="text" id="destination">
<br>
<br>
<img id="myImg" src="#" alt="Your image" style="display: none; width: 300px;">
<input type="file" id="upload" accept="image/*" style="display: none;">
<label for="upload" class="file">Select an Image</label>
<button id="record" class="record">Record</button>
<br>
<ol id= "recordingsList"> </ol>
<button id="pin_button">Place pin</button>
</div>
</div>
<div id='map'></div>
<script src="index.js"></script>
</body>
</html>
112249671211-bn9ns4deilhr4mc7ktb5fmamjc3h36nt.apps.googleusercontent.com