-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
43 lines (36 loc) · 1.05 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
<!DOCTYPE html>
<html lang="en">
<head>
<title>Test GPS</title>
<style>
@keyframes example {
from {background-color: rgba(157, 255, 65, 0.68);}
}
.loc {
padding: 10px;
}
#pos .loc:only-child {
animation-name: example;
animation-duration: 1.2s;
animation-timing-function: cubic-bezier(0.19, 1, 0.22, 1);
}
#map {
width: 100%;
height: 400px;
background-color: green;
}
</style>
<link rel="manifest" href="manifest.json">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=1.0, minimum-scale=1.0, maximum-scale=1.0">
<script async defer
src="https://maps.googleapis.com/maps/api/js?key=AIzaSyA4XOEvFtD1ZAT9emqgagP0f7vf3t4W9aw&callback=initMap"></script>
</head>
<body>
<button id="check" onclick="getLocation()">PUSH ME</button>
<div id="pos"></div>
<div id="log"></div>
<div id="map"></div>
<script src="app.js"></script>
</body>
</html>