-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathphotogeo.html
307 lines (262 loc) · 15.4 KB
/
photogeo.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
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
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
<!DOCTYPE html>
<html>
<head>
<title>Panoramio Google geolocated photos</title>
<meta name="description" content="GuoJunjun's photo gallery on Google Map" />
<meta name="keywords" content="Panoramio Widget API, Panoramio Layer, Restricting photos by tag (Panoramio layer), GuoJunjun, Guo Junjun, Junjun Guo, JunjunGuo, GuoJunjun's photo gallery, Natural Photography Gallery, natural photo, Picture, photo, slr camera photography, slr digital photography, slr photography, photography digital" />
<meta name="viewport" content="initial-scale=1.0, user-scalable=no">
<meta charset="utf-8">
<link rel="stylesheet" type="text/css" media="all" href="./photofiles/screen.css">
<style>
html, body, #map-canvas {
height: 100%;
margin: 0px;
padding: 0px
}
</style>
<!-- Template stylesheet -->
<link rel="shortcut icon" href="./photofiles/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" id="screen_css-css" href="./photofiles/screen.css" type="text/css" media="all">
<link rel="stylesheet" id="fancybox_css-css" href="./photofiles/jquery.fancybox-1.3.0.css" type="text/css" media="all">
<script type="text/javascript" src="./photofiles/jquery.js"></script>
<script type="text/javascript" src="./photofiles/jquery.ui.js"></script>
<script type="text/javascript" src="./photofiles/jquery.fancybox-1.3.0.js"></script>
<script type="text/javascript" src="./photofiles/jquery.validate.js"></script>
<script type="text/javascript" src="./photofiles/cufon.js"></script><style type="text/css">cufon{text-indent:0!important;}@media screen,projection{cufon{display:inline!important;display:inline-block!important;position:relative!important;vertical-align:middle!important;font-size:1px!important;line-height:1px!important;}cufon cufontext{display:-moz-inline-box!important;display:inline-block!important;width:0!important;height:0!important;text-align:left!important;text-indent:-10000in!important;}cufon canvas{position:relative!important;}cufonshy.cufon-shy-disabled,.cufon-viewport-resizing cufonshy{display:none!important;}cufonglue{white-space:nowrap!important;display:inline-block!important;}.cufon-viewport-resizing cufonglue{white-space:normal!important;}}@media print{cufon{padding:0!important;}cufon canvas{display:none!important;}}</style>
<script type="text/javascript" src="./photofiles/Quicksand_Book.font.js"></script>
<script type="text/javascript" src="./photofiles/custom.js"></script>
<!-- google map api -->
<script src="https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&libraries=panoramio"></script>
<script src="https://ssl.panoramio.com/wapi/wapi.js?v=1"></script>
<script>
function initialize() {
// The photoDiv defines the DIV within the info window for
// displaying the Panoramio photo within its PhotoWidget.
var photoDiv = document.createElement('div');
// The PhotoWidget width and height are expressed as number values,
// not string values.
var photoWidgetOptions = {
width: 640,
height: 500
};
// We construct a PhotoWidget here with a blank (null) request as we
// don't yet have a photo to populate it.
var photoWidget = new panoramio.PhotoWidget(photoDiv, null,
photoWidgetOptions);
var cnenterByLatLng = new google.maps.LatLng(59.940320, 10.779280);
var mapOptions = {
zoom: 6,
center: cnenterByLatLng,
<!-- set Control position -->
mapTypeControl: true,
mapTypeControlOptions: {
style: google.maps.MapTypeControlStyle.HORIZONTAL_BAR,
position: google.maps.ControlPosition.TOP_RIGHT
},
panControl: true,
panControlOptions: {
position: google.maps.ControlPosition.BOTTOM_CENTER
},
zoomControl: true,
zoomControlOptions: {
style: google.maps.ZoomControlStyle.LARGE,
position: google.maps.ControlPosition.RIGHT_CENTER
},
scaleControl: true,
streetViewControl: true,
streetViewControlOptions: {
position: google.maps.ControlPosition.RIGHT_CENTER
}
<!-- set Control position end-->
};
var map = new google.maps.Map(document.getElementById('map-canvas'),
mapOptions);
var infoWindow = new google.maps.InfoWindow();
var panoramioLayer = new google.maps.panoramio.PanoramioLayer({
suppressInfoWindows: true
});
panoramioLayer.setUserId('2481456'); <!-- set tag by user id -->
panoramioLayer.setMap(map);
google.maps.event.addListener(panoramioLayer, 'click', function(e) {
var photoRequestOptions = {
ids: [{
'photoId': e.featureDetails.photoId,
'userId': e.featureDetails.userId
}]
};
photoWidget.setRequest(photoRequestOptions);
photoWidget.setPosition(0);
infoWindow.setPosition(e.latLng);
infoWindow.open(map);
infoWindow.setContent(photoDiv);
});
}
function getTaggedPhotos() { <!-- set tag by user id -->
var tagFilter = document.getElementById('tag').value;
panoramioLayer.setTag(tagFilter);
}
google.maps.event.addDomListener(window, 'load', initialize);
</script>
<!-- google map api end !-->
<script src="2015/js/GuoJunjun.js"></script>
<!--[if IE 7]>
<link rel="stylesheet" href=".photofiles/ie7.css" type="text/css" media="all"/>
<![endif]-->
<style type="text/css">
.post_header h2, h1, h2, h3, h4, h5
{
color: #ffc800;
}
body, #page_content_wrapper .sidebar .content .sidebar_widget li a
{
color: #cccccc;
}
.nav, .subnav { font-size:32px; }
.nav li.current-menu-item > a, .nav li > a:hover, .nav li > a:active { color:#ffc800; }
h1 { font-size:40px; }
h2 { font-size:32px; }
h3 { font-size:26px; }
h4 { font-size:24px; }
h5 { font-size:22px; }
h6 { font-size:18px; }
a { color:#ffffff; }
a:hover, a:active { color:#bdbdbd; }
input[type=submit], input[type=button], a.button {
background: #000000;
background: -webkit-gradient(linear, left top, left bottom, from(#333333), to(#000000));
background: -moz-linear-gradient(top, #333333, #000000);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#000000');
}
input[type=submit]:active, input[type=button]:active, a.button:active
{
background: #000000;
background: -webkit-gradient(linear, left top, left bottom, from(#000000), to(#333333));
background: -moz-linear-gradient(top, #000000, #333333);
filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#333333', endColorstr='#000000');
}
input[type=submit], input[type=button], a.button {
color: #ffffff;
}
input[type=submit]:hover, input[type=button]:hover, a.button:hover
{
color: #ffffff;
}
input[type=submit], input[type=button], a.button {
border: 1px solid #444444;
}
.post_header h2, h1, h2, h3, h4, h5
{
color: #ffc800;
}
</style>
</head>
<body>
<div id="map-canvas"></div>
<!-- menu start -------------------------------------------------------------- -->
<!-- left side horizontal mini logo-->
<div id="menu_mini_state" style="height: 746px; display: block;">
<div id="mini_logo">
<a href=""><img src="./photofiles/mini_logo.png" alt=""></a>
</div>
</div>
<!-- Begin template wrapper -->
<div id="wrapper">
<div id="menu_mini_state_btn"></div>
<div id="menu_wrapper" style="height: 746px; left: -400px;">
<!-- Begin logo left logo-->
<a id="custom_logo" class="logo_wrapper" href="photo.html"><img src="./photofiles/logo.png" alt=""></a>
<!-- End logo -->
<!-- Begin main nav -->
<div>
<ul id="main_menu" class="nav">
<!-- Home -->
<li><a href="index.html" class=""><cufon class="cufon cufon-canvas" alt="Home" style="width: 87px; height: 32px;"><canvas width="98" height="33" style="width: 98px; height: 33px; top: 0px; left: -1px;"></canvas>
<cufontext>Home</cufontext></cufon></a></li>
<!-- Gallery Home -->
<li>
<a href="photo.html" class=""><cufon class="cufon cufon-canvas" alt="Gallery Home" style="width: 207px; height: 32px;"><canvas width="224" height="33" style="width: 224px; height: 33px; top: 0px; left: -1px;"></canvas>
<cufontext>Gallery Home</cufontext></cufon></a></li>
<!-- Photos on a Map -->
<li>
<a href="https://junjunguo.github.io/" class=""><cufon class="cufon cufon-canvas" alt="Photo Maps" style="width: 90px; height: 32px;"><canvas width="108" height="33" style="width: 108px; height: 33px; top: 0px; left: -1px;"></canvas>
<cufontext>Photos Maps</cufontext></cufon></a>
<cufon class="cufon cufon-canvas" alt=" " style="width: 10px; height: 32px;"><canvas width="36" height="33" style="width: 36px; height: 33px; top: 0px; left: -1px;"></canvas><cufontext> </cufontext></cufon>
<!-- Photos on a Map -->
<ul class="sub-menu" style="opacity: 0.26897499999999996; overflow: hidden; height: auto; display: none;">
<li>
<a href="photomap.html" class=""><cufon class="cufon cufon-canvas" alt="Geo Photos" style="width: 49px; height: 16px;"><canvas width="63" height="16" style="width: 63px; height: 16px; top: 0px; left: 0px;"></canvas>
<cufontext>Geo Photos</cufontext></cufon>
<!-- Geo Slideshow -->
<li><a href="photogeo.html"><cufon class="cufon cufon-canvas" alt="Geo Slideshow" style="width: 50px; height: 16px;"><canvas width="63" height="16" style="width: 63px; height: 16px; top: 0px; left: 0px;"></canvas>
<cufontext>Geo Slideshow</cufontext></cufon></li></a>
</ul></li>
<!-- menu nr 4 -->
<li>
<a href="photo.html" class=""><cufon class="cufon cufon-canvas" alt="Slide Show" style="width: 216px; height: 32px;"><canvas width="231" height="33" style="width: 231px; height: 33px; top: 0px; left: -1px;"></canvas>
<cufontext>Slide show</cufontext></cufon></a><cufon class="cufon cufon-canvas" alt=" " style="width: 10px; height: 32px;"><canvas width="36" height="33" style="width: 36px; height: 33px; top: 0px; left: -1px;"></canvas><cufontext> </cufontext></cufon>
<!-- Home 4.1 2 3 4 -->
<ul class="sub-menu" style="opacity: 0.285975; overflow: hidden; height: auto; display: none;">
<!-- Home 4.1 -->
<li>
<a href="panoramioapi.html">
<cufon class="cufon cufon-canvas" alt="panoramio api" style="width: 77px; height: 16px;"><canvas width="85" height="16" style="width: 85px; height: 16px; top: 0px; left: 0px;"></canvas>
<cufontext>Panoramio</cufontext></cufon></a></li>
<!-- Home 4.2 -->
<li>
<a href="panoramio.html">
<cufon class="cufon cufon-canvas" alt="panoramio" style="width: 44px; height: 16px;"><canvas width="52" height="16" style="width: 52px; height: 16px; top: 0px; left: 0px;"></canvas>
<cufontext>panoramio</cufontext></cufon></a></li>
<!-- Home 4.3 -->
<li>
<a href="june2014.html">
<cufon class="cufon cufon-canvas" alt="June2014 " style="width: 42px; height: 16px;"><canvas width="56" height="16" style="width: 56px; height: 16px; top: 0px; left: 0px;"></canvas>
<cufontext>June2014 </cufontext></cufon></a></li>
<!-- Home 4.4 -->
<li>
<a href="garden.html">
<cufon class="cufon cufon-canvas" alt="Garden" style="width: 71px; height: 16px;"><canvas width="78" height="16" style="width: 78px; height: 16px; top: 0px; left: 0px;"></canvas>
<cufontext>Garden</cufontext></cufon></a></li>
</ul>
</li>
<!-- link out -->
<li>
<a href="photo.html" class=""><cufon class="cufon cufon-canvas" alt="Link out" style="width: 182px; height: 32px;"><canvas width="191" height="33" style="width: 191px; height: 33px; top: 0px; left: -1px;"></canvas>
<cufontext>link out</cufontext></cufon></a>
<ul class="sub-menu" style="opacity: 0.087975; overflow: hidden; height: auto; display: none;">
<!-- link out .1 -->
<li>
<a href="http://www.panoramio.com/user/guojunjun?show=all">
<cufon class="cufon cufon-canvas" alt="My Panoramio" style="width: 96px; height: 16px;"><canvas width="102" height="16" style="width: 102px; height: 16px; top: 0px; left: 0px;"></canvas>
<cufontext>My Panoramio</cufontext></cufon></a></li>
<!-- Home 2 .2 -->
<li>
<a href="https://www.flickr.com/photos/guojunjun">
<cufon class="cufon cufon-canvas" alt="My Flickr" style="width: 13px; height: 16px;"><canvas width="26" height="16" style="width: 26px; height: 16px; top: 0px; left: 0px;"></canvas>
<cufontext>My Flickr</cufontext></cufon></a></li>
<!-- Home 2 .3 -->
<li>
<a href="photo.html"><cufon class="cufon cufon-canvas" alt="3 " style="width: 13px; height: 16px;"><canvas width="27" height="16" style="width: 27px; height: 16px; top: 0px; left: 0px;"></canvas><cufontext>3 </cufontext></cufon><cufon class="cufon cufon-canvas" alt="Columns" style="width: 77px; height: 16px;"><canvas width="85" height="16" style="width: 85px; height: 16px; top: 0px; left: 0px;"></canvas><cufontext>Columns</cufontext></cufon></a></li>
<!-- Home 2 .4 -->
<li>
<a href="photo.html"><cufon class="cufon cufon-canvas" alt="4 " style="width: 14px; height: 16px;"><canvas width="28" height="16" style="width: 28px; height: 16px; top: 0px; left: 0px;"></canvas><cufontext>4 </cufontext></cufon><cufon class="cufon cufon-canvas" alt="Columns" style="width: 77px; height: 16px;"><canvas width="85" height="16" style="width: 85px; height: 16px; top: 0px; left: 0px;"></canvas><cufontext>Columns</cufontext></cufon></a></li>
</ul></li>
<!-- Contact -->
<li><a href="index.html" class=""><cufon class="cufon cufon-canvas" alt="Contact" style="width: 87px; height: 32px;"><canvas width="98" height="33" style="width: 98px; height: 33px; top: 0px; left: -1px;"></canvas>
<cufontext>Contact</cufontext></cufon></a></li>
</ul>
</div>
<!-- End main nav ------ - -- - --->
<br class="clear"> <!-- The <br> tag is an empty tag which means that it has no end tag.--->
<div id="copyright"> Copyleft
<!--[if lte IE 8]><span style="filter: FlipH; -ms-filter: "FlipH"; display: inline-block;"><![endif]-->
<span style="-moz-transform: scaleX(-1); -o-transform: scaleX(-1); -webkit-transform: scaleX(-1); transform: scaleX(-1); display: inline-block;"> © </span>
<!--[if lte IE 8]></span><![endif]-->
2014 <a href="index.html">GuoJunjun</a>.
</div>
</div>
<div id="cover_content" style="position:fixed;top:40px;right:50px;z-index:999;"><img src="./photofiles/cover.png"></div>
</div>
<!-- end template wrapper -->
<!-- menu end -------------------------------------------------------------- -->
</body>
</html>