Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathmap.html
More file actions
Latest commit
240 lines (225 loc) · 10.3 KB
/
Copy pathmap.html
File metadata and controls
240 lines (225 loc) · 10.3 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
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
<!doctype html>
<!-- https://github.com/paulirish/html5-boilerplate/blob/master/index.html -->
<!-- paulirish.com/2008/conditional-stylesheets-vs-css-hacks-answer-neither/ -->
<!--[if lt IE 7 ]> <html lang="en" class="no-js ie6"> <![endif]-->
<!--[if IE 7 ]> <html lang="en" class="no-js ie7"> <![endif]-->
<!--[if IE 8 ]> <html lang="en" class="no-js ie8"> <![endif]-->
<!--[if (gte IE 9)|!(IE)]><!--><htmllang="en" class="no-js"><!--<![endif]-->
<head>
<!-- meta element for compatibility mode needs to be before
all elements except title & meta
msdn.microsoft.com/en-us/library/cc288325(VS.85).aspx -->
<metacharset="utf-8">
<!-- Always force latest IE rendering engine (even in intranet) & Chrome Frame
Remove this if you use the .htaccess -->
<metahttp-equiv="X-UA-Compatible" content="IE=edge">
<title>The Free Python Job Board</title>
<metaname="description" content="An international job board for Python roles">
<!-- Because we have responsive styles, don't set device-width which makes rotation look weird
and allow users to zoom-in/out as they wish -->
<metaname="viewport" content="initial-scale=1">
<linkrel="shortcut icon" href="/favicon.ico">
<linkrel="apple-touch-icon" href="/touch-icon-iphone.png">
<linkrel="apple-touch-icon" sizes="76x76" href="/touch-icon-ipad.png">
<linkrel="apple-touch-icon" sizes="120x120" href="/touch-icon-iphone-retina.png">
<linkrel="apple-touch-icon" sizes="152x152" href="/touch-icon-ipad-retina.png">
<linkrel="apple-touch-icon" sizes="180x180" href="/touch-icon-iphone6.png">
<linkhref="/atom.xml" type="application/atom+xml" rel="alternate" title="The Free Python Job Board's atom feed" />
<linkrel="sitemap" type="application/xml" title="Sitemap" href="/sitemap.xml"/>
<linkhref='//fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700,400italic' rel='stylesheet' type='text/css'>
<linkrel="stylesheet" href="/media/css/font.css">
<linkrel="stylesheet" href="/media/css/site.css">
<scripttype="text/javascript" src="//maps.googleapis.com/maps/api/js?key=AIzaSyCvUNmmqfyLM6ZXhyprecI3mEFP2e99cLQ"></script>
<scripttype="text/javascript" src="/media/js/libs/markcluster.js"></script>
<style>
footer{
position: fixed;
left:0; right:0; bottom:0;
height:2.2em;
box-shadow:0-2px2pxrgba(0,0,0,0.2);
}
#mainheader{
position: fixed;
left:0; right:0; top:0;
z-index:10;
box-shadow:02px2pxrgba(0,0,0,0.2);
}
#map-container{
position: fixed;
left:0; right:0;
}
.gm-button-style{
overflow: hidden;
text-align: center;
position: relative;
color:rgb(86,86,86);
font-family: Roboto, Arial, sans-serif;
user-select: none;
font-size:11px;
background-color:rgb(255,255,255);
padding:8px;
border-bottom-right-radius:2px;
border-top-right-radius:2px;
background-clip: padding-box;
box-shadow:rgba(0,0,0,0.3) 0px1px4px-1px;
min-width:40px;
border-left:0px;
margin:10px;
}
.gm-button-stylei{
margin-bottom:1px;
}
#location-warn{
display: inline-block;
text-align: center;
position: relative;
font-family: Roboto, Arial, sans-serif;
padding:8px8px;
color: red;
background-color:rgb(255,255,255);
box-shadow:rgba(0,0,0,0.3) 0px1px4px-1px;
margin:10px0;
}
</style>
</head>
<bodyid="map">
<header>
<divclass="in">
<divid="logo"><ahref="/"><iclass="i-pyjobslogo"></i></a></div>
<divid="title"><ahref="/">The Free <span>Python Job Board</span></a></div>
<divclass="sub">for the global Python community</div>
</div>
</header>
<divid="container">
<divid="main" role="main">
<divclass="controls">
<divid=location-warn>
Location Markers are approximate
</div>
<divid='returnlink' class="gm-button-style">
<ahref="/"><iclass='i-list'></i> Return to list</a>
</div>
</div>
<divid="map-container">
<divid='map-el' style="height: 100%; width: 100%;"></div>
</div>
</div>
</div><!--! end of #container -->
<footer>
<aclass="about" href="https://www.github.com/pythonjobs/jobs">
Have a job to advertise? Create a pull-request <iclass="i-github"></i>
</a>
The Free Python Job Board - Hosted by
<ahref="https://www.github.com/pythonjobs/jobs" target="_blank">github</a>, generated with <ahref="http://hyde.github.io/">hyde</a>.
</footer>
<!-- Javascript at the bottom for fast page loading -->
<!-- Grab Google CDN's jQuery, with a protocol relative URL; fall back to local if necessary -->
<scriptsrc="//ajax.googleapis.com/ajax/libs/jquery/1.5.1/jquery.js"></script>
<script>window.jQuery||document.write('<script src="/media/js/libs/jquery-1.5.1.min.js">\x3C/script>')</script>
<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*newDate();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-59980478-1','auto');
ga('send','pageview');
</script>
<scripttype="text/javascript">
varjobs={};
varkey=''+51.5073509+':'+-0.1277583;
if(!(keyinjobs)){jobs[key]=[];}
jobs[key].push({
coords: {"lat": 51.5073509,"lng": -0.1277583},
content: " <h1><a href=\"/jobs/hbk-strats-developer.html\">Strats Python Developer</a></h1>\n\n <span class=\"info\"><i class=\"i-globe\"></i> London, UK</span>\n <span class=\"info\"><i class=\"i-calendar\"></i> Thu, 06 Oct 2022</span>\n <span class=\"info\"><i class=\"i-chair\"></i> Permanent</span>\n <span class=\"info\"><i class=\"i-company\"></i> HBK Europe Management LLP</span>\n \n <p class=\"detail\"> Overview HBK is searching for a Python software developer to join our Strats team in London on a full-time basis. The Strats group works closely and primarily with investment professionals in all our offices to help...</p>\n \n"
});
varkey=''+43.0059455+':'+-123.8925908;
if(!(keyinjobs)){jobs[key]=[];}
jobs[key].push({
coords: {"lat": 43.0059455,"lng": -123.8925908},
content: " <h1><a href=\"/jobs/bmat-python-backend-engineer.html\">Python Backend Engineer</a></h1>\n\n <span class=\"info\"><i class=\"i-globe\"></i> Remote</span>\n <span class=\"info\"><i class=\"i-calendar\"></i> Tue, 23 Nov 2021</span>\n <span class=\"info\"><i class=\"i-chair\"></i> Permanent</span>\n <span class=\"info\"><i class=\"i-company\"></i> BMAT</span>\n \n <p class=\"detail\"> What you\u2019ll be\u00a0doing In the Data team we want to have the most complete music metadata database in the world. As part of our team you will help in any stage: from integrating new sources, enhancing the entity...</p>\n \n"
});
varkey=''+43.0059455+':'+-123.8925908;
if(!(keyinjobs)){jobs[key]=[];}
jobs[key].push({
coords: {"lat": 43.0059455,"lng": -123.8925908},
content: " <h1><a href=\"/jobs/bmat-senior-backend-engineer.html\">Senior Backend Engineer</a></h1>\n\n <span class=\"info\"><i class=\"i-globe\"></i> Remote</span>\n <span class=\"info\"><i class=\"i-calendar\"></i> Tue, 23 Nov 2021</span>\n <span class=\"info\"><i class=\"i-chair\"></i> Permanent</span>\n <span class=\"info\"><i class=\"i-company\"></i> BMAT</span>\n \n <p class=\"detail\"> What you\u2019ll be\u00a0doing BMAT is teaming up with a global music streaming service to revolutionize the way copyrights and royalties are handled in the online world. As we transition from discovery to an MVP phase, we\u2019re...</p>\n \n"
});
console.log(jobs);
varMAP_OPTIONS={
center: {lat: 40,lng: 0},
zoom: 1,
styles: [
{
"featureType": "poi",
"elementType": "labels",
"stylers": [
{"visibility": "off"}
]
}
]
};
$(function(){
varmapEl=$('#map-el');
varcontainerEl=$('#map-container');
varfooterEl=$("footer");
varheaderEl=$("#main header");
varhomelink=$("#returnlink");
varwarntext=$("#location-warn")
functionresize(){
vartop=headerEl.outerHeight();
varbottom=footerEl.position().top;
containerEl.css({
position: 'fixed',
top: top+'px',
height: (bottom-top)+'px'
});
}
$(window).resize(resize);
varmap=newgoogle.maps.Map(mapEl[0],MAP_OPTIONS);
map.controls[google.maps.ControlPosition.TOP_RIGHT].push(homelink[0]);
map.controls[google.maps.ControlPosition.TOP_RIGHT].push(warntext[0]);
varbounds=newgoogle.maps.LatLngBounds();
varinfoWindows=[];
varmarkers=[];
mapevent=google.maps.event.addListener;
$.each(jobs,function(_,job_list){
varcontents=[];
varcoords;
$.each(job_list,function(_,job){
coords=job.coords;
contents.push(job.content);
});
contents=contents.join('<hr/>');
$.each(job_list,function(_,job){
varmarkerpos=newgoogle.maps.LatLng(coords.lat,coords.lng);
bounds.extend(markerpos);
varinfowindow=newgoogle.maps.InfoWindow({
content: contents
});
infoWindows.push(infowindow);
varmarker=newgoogle.maps.Marker({position: markerpos,map: map});
markers.push(marker)
mapevent(marker,'click',function(){
$.each(infoWindows,function(_,el){
el.close();
})
infowindow.open(map,marker);
});
});
});
varmarkerCluster=newMarkerClusterer(map,markers,{
zoomOnClick: false,
styles: [{
url: "/media/multi-marker.png",
height: 46,width: 32,
textColor: "#fff"
}]
});
markerCluster.setGridSize(20);
markerCluster.setMaxZoom(10);
resize();
map.fitBounds(bounds);
})
</script>
</body>
</html>