-
Notifications
You must be signed in to change notification settings - Fork 0
/
geohash.html
54 lines (49 loc) · 2.12 KB
/
geohash.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
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<title>地図にジオハッシュを敷き詰める画面</title>
<meta charset="utf-8">
<meta name="description" content="YOLP地図にジオハッシュを敷き詰める画面です">
<meta name="author" content="c_tyo">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta property="og:title" content="地図にジオハッシュを敷き詰める画面" />
<meta property="og:image" content="https://ctyo.github.io/MapOnRect/screenshot.png" />
<meta property="og:type" content="GIS,Geohash" />
<meta property="og:url" content="https://ctyo.github.io/MapOnRect/geohash.html" />
<meta property="og:site_name" content="地図にジオハッシュを敷き詰める画面" />
<meta property="og:description" content="YOLP地図にジオハッシュを敷き詰める画面です" />
<style>
html,
body {
margin: 0;
padding: 0;
width: 100%;
height: 100%;
}
#map {
width: 100%;
height: 100%;
}
#controller {
position: absolute;
z-index: 3;
padding: 5px 10px;
}
</style>
</head>
<body>
<div id="controller">
<input type="text" id="geohash" />
<input type="text" id="geohash_length" />
<input type="text" id="position" readonly />
</div>
<div id="map"></div>
<a href="https://github.com/ctyo/MapOnRect"><img style="width:100px; position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_red_aa0000.png" alt="Fork me on GitHub"></a>
<script type="text/javascript" charset="utf-8" src="https://map.yahooapis.jp/js/V1/jsapi?appid=dj00aiZpPU1zVFdraTM4cURaYiZzPWNvbnN1bWVyc2VjcmV0Jng9MjE-"></script>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/latlon-geohash.min.js"></script>
<script src="./geohashcolor.js"></script>
<script src="./geohash_layer.js"></script>
<script src="./geohash.js"></script>
</body>
</html>