-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
68 lines (61 loc) · 3.05 KB
/
index.html
File metadata and controls
68 lines (61 loc) · 3.05 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<meta name="description" content="Online Geohash Converter">
<meta name="author" content="Mete Ercan Pakdil">
<title>Geohash Converter</title>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css"
integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
<link href="style.css" rel="stylesheet">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/site.webmanifest">
</head>
<body>
<main role="main" class="container">
<h1 class="mt-5">Geohash Converter</h1>
<p class="lead">Simple and straightforward online <a href="https://en.wikipedia.org/wiki/Geohash" target="blank">geohash</a> converter</p>
<div class="form-group">
<label for="txtFirstInput" id="lblInput">Geohash(es):</label>
<textarea class="form-control" id="txtInput" rows="4" placeholder="one geohash input per line"></textarea>
</div>
<div class="row" style="display: none;" id="frmPrecision">
<label for="txtPrecision" class="col-auto col-form-label pr-1 my-auto">Default Precision:</label>
<div class="col-auto my-auto">
<input type="email" class="form-control" style="max-width: 100px;" id="txtPrecision">
</div>
</div>
<div class="form-group">
<label for="txtOutput" id="lblOutput">Coordinate(s):</label>
<textarea class="form-control" id="txtOutput" rows="4" readonly></textarea>
</div>
<div class="row">
<div class="col">
<button type="button" class="btn btn-primary" id="btnConvert">Convert</button>
<button type="button" class="btn btn-secondary" id="btnChangeDirection">Change Direction</button>
</div>
<div class="col-auto px-1">
<button type="button" class="btn btn-link" id="btnClear">Clear</button>
</div>
</div>
</main>
<footer class="footer">
<div class="container">
<span class="text-muted"><a href="https://github.com/mtrcn/geohash-converter" target="blank">Source Code</a></span>
</div>
</footer>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
<script src="geohash.js"></script>
<script src="script.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-137889195-2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-137889195-2');
</script>
</body>
</html>