-
Notifications
You must be signed in to change notification settings - Fork 6
/
index.html
91 lines (83 loc) · 3.32 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
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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
<!DOCTYPE html>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<link rel="stylesheet" href="https://mapzen.com/common/styleguide/styles/styleguide.css">
<!-- gogole analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-47035811-1', 'auto');
ga('send', 'pageview');</script>
<body>
<div id="main-control" class="control">
<div class="row">
<div class="col-sm-12">
3D print your favorite map tile. Enter your coordinates to generate an OBJ file that you can send to a 3D printer!
</div>
</div>
<hr>
<div id="search-bar"></div>
<div class="form-group">
<div class="label">Longitude</div>
<div class="geocode" id="lon"> Please select a place.</div>
</div>
<div class="form-group">
<div class="label">Latitude</div>
<div class="geocode" id="lat"></div>
</div>
<div class="row">
<div class="col-sm-12">
<label for="zoomRadio">Zoom Level</label>
<form name="zoomRadio">
<div class="form-group">
<input type="radio" name="zoomLevel" value="16" checked="checked"><label for ="zoomLevel">16</label>
</div>
<div class="form-group">
<input type="radio" name="zoomLevel" value="17"><label for ="zoomLevel">17</label>
</div>
<div class="form-group">
<input type="radio" name="zoomLevel" value="18"><label for ="zoomLevel">18</label>
</div>
</form>
</div>
</div>
<div class="marginTopDown">
<div class="row ">
<div class="col-sm-12 text-center">
<button class="form-control btn btn-mapzen" id="exportBtn" disabled> Preview the tile</button>
</div>
</div>
</div>
<div class="marginTopDown">
<div class="row">
<div class="col-sm-11 text-center">
<a id="exportA" class="disabled"><i class="fa fa-caret-right"></i> Download <i class="fa fa-caret-left"></i></a>
</div>
</div>
</div>
</div>
<div class="control-toggle text-right">
<a id="hide-toggle">Hide control</a>
</div>
<div class="navigation">
<div class="direction-control">
<div id ="preview-north-east"></div>
<div id ="preview-north"></div>
<div id ="preview-north-west"></div>
<div id ="preview-center-east"></div>
<div id ="preview-center"></div>
<div id ="preview-center-west"></div>
<div id ="preview-south-east"></div>
<div id ="preview-south"></div>
<div id ="preview-south-west"></div>
</div>
</div>
<div class="cc">
© <a href="http://www.openstreetmap.org/">OSM</a> contributors | <a href="https://mapzen.com">Mapzen</a> | <a href="https://github.com/hanbyul-here/vector-tile-obj-exporter">Github Repo</a>
</div>
<div id="loading-bar" class="loading-bar"></div>
<script src="bundle.js"></script>
</body>
</html>