-
Notifications
You must be signed in to change notification settings - Fork 0
/
speedo.html
56 lines (53 loc) · 1.25 KB
/
speedo.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
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Josefin+Sans" rel="stylesheet">
<meta charset="UTF-8">
<meta name="theme-color" content="#000000">
<style>
body {
margin: 0;
}
p {
border-style: solid;
border-width: 1px;
}
canvas {
border-style: solid;
border-width: 1px;
font-family: 'Josefin Sans', sans-serif;
}
button {
width: 300px;
height: 300px;
}
#jsLog {
border-style: solid;
border-color: rgb(220,220,220);
border-width: 1px;
width: 100%;
height: 40%;
font-family: monospace;
}
#jsInputArea {
width: 80%;
font-family: monospace;
margin: 0px;
}
#jsSubmit {
width: 150px;
height: 50px;
margin: 0px;
}
</style>
</head>
<body>
<div id="speedoCanvasContainer" style="visibility: visible"></div>
<p id="demo">GPS data here.</p>
<button onClick="toggleFullscreen()" width="100px" height="100px">Fullscreen</button>
<br>
<!--canvas id="canvas1" width="700px" height="400px">ns =(</canvas -->
<p id="errorLog"></p>
<!-- Create your Google Maps API key and put it below. -->
<script src="https://maps.googleapis.com/maps/api/js?key=(YOUR API KEY HERE)"></script>
<script src="speedo.js"></script>