-
Notifications
You must be signed in to change notification settings - Fork 8
Expand file tree
/
Copy pathindex.html
More file actions
173 lines (169 loc) · 6.47 KB
/
Copy pathindex.html
File metadata and controls
173 lines (169 loc) · 6.47 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
<!DOCTYPE html>
<html>
<head>
<title>Daytripper</title>
<meta name="viewport" content="initial-scale=1.0, user-scalable=no" />
<meta name="description" content="A new way to use Google Streetview. Travel the world, simply by scrolling."/>
<meta name="keywords" content="HTML, CSS, Javascript, Google, maps, streetview, street, view, api, travel, daytripper, jefferson, lam, scroll, web, development, webdevelopment, webapp, app"/>
<meta name="author" content="Jefferson Lam"/>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?&sensor=false"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script type="text/javascript" src="streetviewgrabber.js"></script>
<script type="text/javascript" src="streetviewpoint.js"></script>
<script type="text/javascript" src="spin.js"></script>
<script type="text/javascript" src="page.js"></script>
<link rel="stylesheet" type="text/css" href="global.css">
<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-46392706-1', 'jeffersonlam.com');
ga('send', 'pageview');
</script>
</head>
<body>
<div id="container">
<!-- <div id="mobile">
<div class="sorry">
<h1>Sorry!</h1>
<p>Daytripper for mobile devices is still in development. Visit again on your non-mobile device!</p>
</div>
<div class="bg-cover"></div>
<div class="bg-image"></div>
</div> -->
<div id="home-container">
<div class="content-area">
<h1>Daytripper</h1>
<h4>Travel the world, simply by scrolling.</h4>
<p class="mobile-notice">*This is the mobile beta version of Daytripper. Visit again on your non-mobile device for the best experience.</p>
<button id="get-started">Try it now</button>
<p>Developed by <a href="http://www.jeffersonlam.com">Jefferson Lam</a></p>
<p>Powered by Google Maps</p>
<p>Best with Google Chrome</p>
</div>
</div>
<div id="tutorial">
<h1>Scroll down to view images</h1>
<br>
<br>
<br>
<br>
<h1>▾</h1>
<br>
<h1>▾</h1>
<br>
<h1>▾</h1>
</div>
<div id="app-container">
<div class="panel-with-tab">
<div id="panel">
<h3>Search</h3>
<div class="search-area">
<form action="javascript:handleRouteSearch()" id="search">
<div class="row">
<label>Start: </label>
<input type="text" id="start" placeholder="Grand Central Terminal" value="Guggenheim Museum, NY">
</div>
<div class="row">
<label>End: </label>
<input type="text" id="end" placeholder="Empire State Building" value="Soho, NY">
</div>
<div class="row submit">
<input type="submit" id="find-route" value="Find Route">
</div>
</form>
<div class="clear-fix"></div>
<div id="searching-route"><span></span></div>
</div>
<div class="search-results-area">
<div class="searchmap-container">
<div id="search-map"></div>
</div>
<div class="clear-fix"></div>
<div class="home">
<button id="home-btn">Home</button>
</div>
<form action="javascript:handleStreetViewSearch()">
<div class="row submit">
<input id="street-view-button" type="submit" value="Find Street Views" disabled>
</div>
</form>
</div>
</div>
<div class="slider-tab">
<div class="tab"> > </div>
</div>
</div>
<div class="nav-container">
<div id="minimap-hider"> > </div>
<div class="minimap-btn-area">
<button id="minimap-btn" disabled>Map</button>
<button id="about-btn">About</button>
</div>
<div class="clear-fix"></div>
<div id="minimap-container">
<div class="route-info">
<div class="row">
<label>Start: </label>
<p id="origin"></p>
</div>
<div class="row">
<label>End: </label>
<p id="destination"></p>
</div>
</div>
<div id="minimap"></div>
<button id="images-btn" disabled>View images</button>
<button id="panorama-btn" disabled>View panorama</button>
</div>
<div id="about-container">
<p class="title">about</p>
<p>I was playing around with Google Maps streetview one day, when I thought to myself:</p>
<h2>"I wish there was a more elegant way to use streetview."</h2>
<p>I wanted to capture that simple joy of going on a walk, or a bike ride, or a road trip. Where it's just you and the road.</p>
<p>After a few weeks of fumbling around with code, here's what I came up with.</p>
<p>Enjoy!</p>
<div class="signature">
<p> - Jefferson Lam</p>
</div>
<div class="notices">
<p>Special thanks to Google</p>
<p>Design, code, and homepage photos by Jefferson Lam</p>
</div>
<br>
<a href="http://www.jeffersonlam.com">My website</a><br>
<a href="https://github.com/jeffersonlam">Github</a><br><br>
<p class="muted">Last updated: February 2014</p>
</div>
</div>
<div id="spin"></div>
<div id="loading-screen">
<p>Loading images...</p>
<div class="progress">
<div class="progress-bar" role="progressbar" aria-valuenow="60" aria-valuemin="0" aria-valuemax="100" style="width: 0%;"></div>
</div>
</div>
<div id="loading-screen-bg">
<div class="cover"></div>
</div>
<div id="streetview-display">
<div id="blocker"></div>
<div id="pano-display"></div>
</div>
<div id="trackerbar">
<div class="line-visible"></div>
<div class="actual-line">
<div class="tracker"></div>
</div>
<div class="line-containment"></div>
</div>
<div id="streetview-images">
<img class="streetview" src="http://farm4.staticflickr.com/3761/12530322445_a0bcdd5cf5_o.jpg">
</div>
</div>
</div>
</body>
</html>