-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmap.html
38 lines (35 loc) · 1.03 KB
/
map.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
<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8 />
<title>TrackBox</title>
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' />
<link rel="stylesheet" href="http://track-box.github.io/trackbox/public/uikit-2.8.0/uikit.almost-flat.min.css" />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
</style>
</head>
<body>
<div id="map"></div>
<script src="//maps.google.com/maps/api/js?v=3&key=AIzaSyChuaneGgTfTzlwUdqAGw7ns6cJTIQEbGg&libraries=geometry"></script>
<script src="trackbox-map.js"></script>
<script>
var saga2016 = {
name: "Saga2016",
center: [33.252814, 130.245334],
bounds: [[33.07754498441214, 129.95346411545185], [33.41060691858563, 130.49726791761674]],
zoom: { min: 5, max: 15 },
utm: {
zone: 52,
xmin: 588987,
xmax: 639232,
ymin: 3660873,
ymax: 3697218
},
url: "https://d128cdxvkxdfwx.cloudfront.net/map/saga2016"
};
var trackboxMap = new TrackboxMap(saga2016, "map");
</script>
</body>
</html>