forked from pissang/little-big-city
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
53 lines (53 loc) · 1.75 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<title>Little Big City</title>
<link rel="stylesheet" href="./css/main.css">
<script>
paceOptions = {
ajax: true,
document: true
};
</script>
<script src="lib/pace.min.js"></script>
</head>
<body>
<div id="viewport"></div>
<div id="map">
<h3>Pan the map to select a new area</h3>
<div id="location">
<label>LNG</label>
<input id="lng" type="text" value="-74.0130345">
<label>LAT</label>
<input id="lat" type="text" value="40.7063516">
<button id="reset">RESET</button>
<button id="locate">GO</button>
</div>
<div id="map-main"></div>
</div>
<nav id="style-list">
<ul>
<li class="planet">
<img src="asset/planet.jpg" alt="">
</li>
<li class="tile">
<img src="asset/isometric.jpg" alt="">
</li>
</ul>
</nav>
<div id="credits">
<a href="https://github.com/pissang/little-big-city" target="_blank" class="source">Source Code</a>
Built on top of
<a href="https://github.com/pissang/claygl" target="_blank">ClayGL</a> by
<a href="https://twitter.com/pissang1" target="_blank">@pissang</a>
<div class="data-source">
Vector tile data is from <a target="_blank" href="https://developers.nextzen.org/about.html">nextzen</a>.
</div>
</div>
<script src="lib/FileSaver.js"></script>
<script src="./dist/bundle.js"></script>
</body>
</html>