forked from garytube/missionday
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
479 lines (414 loc) · 29.4 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
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
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
<!DOCTYPE html>
<html lang="en">
<head>
<base href="http://madrid.missionday.es">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Missionday Madrid | 12/03/2017</title>
<!-- seo -->
<meta property="og:url" content="http://madrid.missionday.es" />
<meta property="og:type" content="website" />
<meta property="og:title" content="Mission Day Madrid - Mission Day Madrid 12/03/2017" />
<!-- this text will be shown if somebody shares your link -->
<meta property="og:description" content="Agents, we want to discover Madrid on Sunday 12/03/2017. We will provide you high quality missions to explore the city on foot together. # to receive more information soon." />
<meta property="og:image" content="http://madrid.missionday.es/assets/promo-city.jpg">
<meta property="og:image:type" content="image/jpeg">
<meta property="og:locale" content="en_US">
<meta name="description" content="Agents, we want to discover Madrid on Sunday 12/03/2017. We will provide you high quality missions to explore the city on foot together. # to receive more information soon.">
<!-- set time when page is created -->
<meta property="og:updated_time" content="2017-11-14T20:52:17+0100">
<meta name="twitter:title" content="Mission Day Madrid">
<meta name="twitter:url" content="http://madrid.missionday.es/">
<meta name="keywords" content="Missionday, Madrid, ingress, resistance, enl, res">
<meta name="twitter:card" content="summary">
<meta name="twitter:description" content="Agents, we want to discover Madrid on Sunday 12/03/2017. We will provide you high quality missions to explore the city on foot together. # to re">
<!-- Set Domain // this is the image that will be shown on gplus if somebody post the link to the website -->
<meta name="twitter:image" content="promo-city.jpg">
<!-- Global site tag (gtag.js) - Google Analytics -->
<script async src="https://www.googletagmanager.com/gtag/js?id=UA-110085870-1"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'UA-110085870-1');
</script>
<!-- css / fonts -->
<link href="https://fonts.googleapis.com/css?family=Lato:300,400,700,900" rel="stylesheet">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
<link rel="stylesheet" href="assets/css/animate.min.css">
<!-- template for this page -->
<link rel="stylesheet" href="assets/css/missionday.css">
<link rel="stylesheet" href="assets/css/missionday_mobile.css">
<link rel="apple-touch-icon" sizes="57x57" href="/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="96x96" href="/favicon.png">
<link rel="icon" type="image/png" sizes="16x16" href="/favicon-16x16.png">
<link rel="manifest" href="/manifest.json">
<!-- will change the adressbar color on android chrome -->
<meta name="theme-color" content="#ea5b0c">
</head>
<body>
<!-- <a href="https://github.com/garytube/missionday"><img style="position: absolute; top: 0; right: 0; border: 0; z-index: 1000" src="https://camo.githubusercontent.com/a6677b08c955af8400f44c6298f40e7d19cc5b2d/68747470733a2f2f73332e616d617a6f6e6177732e636f6d2f6769746875622f726962626f6e732f666f726b6d655f72696768745f677261795f3664366436642e706e67" alt="Fork me on GitHub" data-canonical-src="https://s3.amazonaws.com/github/ribbons/forkme_right_gray_6d6d6d.png"></a>-->
<header class="header-blue">
<!--Mainmenu Start-->
<div id="main-menu" class="sticker" style="opacity: 1;">
<div class="container">
<div class="row">
<div class="col-lg-4 col-md-2 ">
<div class="logo">
<a href="/"><img src="assets/img/md-logo.svg" class="mdlogo" alt="Missionday"></a>
</div>
</div>
<div class="col-lg-8 col-md-10 ">
<div class="main-menu float-right">
<!-- hidden on mobile -->
<nav>
<ul>
<li class="active"><a href="#intro">Home</a></li>
<li class=""><a href="#missions">Mission Map</a></li>
<li><a href="#timetable">Timetable</a></li>
</ul>
</nav>
</div>
</div>
</div>
</div>
</div>
<!--End of Mainmenu-->
</header>
<!--
##############
Add your own background image
##############
-->
<div class="banner-area banner-skyline banner-horizontal" id="banner" style="background:url(assets/img/bg_header.jpg) center center no-repeat;">
<div class="container">
<div class="row">
<div class="col-xs-12 col-sm-8 col-lg-7">
<div class="banner-text">
<div class="banner-table-cell">
<h1>INGRESS<br><span>MISSION DAY </span>Madrid</h1>
<p>Agents, we want to discover Madrid on Sunday 12/03/2017. We will provide you <strong><span> high quality </span></strong>missions to explore the city on foot together. # to receive more information soon. </p>
<div class="banner-buttons">
<a href="#missions" class="button-default button-md">Our Missions</a>
<a href="#timetable" class="button-default button-md visibile-xs">TimeTable</a> <!-- only mobile thanks to visibile-xs but change if you like -->
<a href="http://events.ingress.com/MissionDay/madrid" class="button-default button-md niantic visibile-xs">Niantic #</a> <!-- only mobile thanks to visibile-xs but change if you like -->
</div>
</div>
</div>
</div>
<div class="hidden-xs col-sm-4 col-lg-5">
<div class="banner-product-image">
<div class="wow bounceInUp" data-wow-duration="2s" data-wow-delay="0s" style="visibility: visible; animation-duration: 2s; animation-delay: 0s; animation-name: bounceInUp;">
<!--
##############
You can use our Berlin iPhone Mockup but you will find Mockups all over the internet.... psd mockups
##############
-->
<img src="assets/img/banner-mobile.png" alt="Missionday Madrid" class="floatright">
</div>
</div>
</div>
</div>
</div>
</div>
<!--
##############
Mobile Map - THIS WILL ONLY BE SHOWN ON MOBILE
You can add a link to your google Map, take a look at the berlin missionday map
https://www.google.com/maps/d/viewer?mid=11SksJmgINlqaGuzc1eLbRAGRHko
##############
-->
<section id="mobile-map" class="visible-xs" style="margin:-20px 0 40px 0; position:relative; z-index:100">
<div class="container">
<div class="row">
<div class="col-sm-12 text-center" >
<a href="map"><img src="assets/img/missionmap.jpg" alt="Map" class="img-responsive"></a>
<a class="button-default button-md" href="https://www.google.com/maps/d/viewer?hl=es&hl=es&mid=1NgZvCHt7bdleRXQJERaz1yjqE2M3tTQ1&ll=40.41744019517267%2C-3.7001463802398575&z=14">Open Mobile Map</a>
</div>
</div>
</div>
</section>
<!-- // -->
<!-- Introduction -->
<section id="intro">
<div class="container">
<div class="row">
<div class="col-md-12">
<div class="section-title text-center title-blue">
<h1>Mission Day <span>Madrid</span></h1>
<p>Welcome to our Community Website <br>for the Mission Day Madrid! </p>
<hr>
</div>
</div>
</div>
<div class="row">
<div class="col-lg-offset-1 col-md-offset-0 col-sm-offset-0 col-sm-5">
<div class="about-image">
<!-- add a nice picture of your city here -->
<img src="assets/img/promo-city.jpg" alt="Missionday Madrid">
</div>
</div>
<div class="col-xs-12 col-sm-7 col-lg-6">
<p>Mission Day brings together Agents from both factions to explore cities around the world through the lens of Ingress with unique and local adventures on foot.</p>
<p>Agents, we want to discover Madrid on Sunday 12/03/2017. We will provide you high quality missions to explore the city on foot together. </p>
<p><strong>Important! You need to register with Niantic. <a href="http://events.ingress.com/MissionDay/madrid">Register Now</a></strong></p>
<p><strong>You need to complete at least 6 Missions for the Badge. Checkout the <a href="#missions">Missions!</a></strong></p>
<p>We recommend the <a href="https://www.google.com/maps/d/viewer?hl=es&hl=es&mid=1NgZvCHt7bdleRXQJERaz1yjqE2M3tTQ1&ll=40.41313155018184%2C-3.6930713742827947&z=17">red group of missions</a> to easily get the 6 missions</p>
<p><strong>Res PoC:</strong>
<a href="https://plus.google.com/104709083809401922132">@Joliboop </a> &
<a href="https://plus.google.com/110942793453570248643">@Zelia</a>
</p>
<p>
<strong>Enl PoC:</strong>
<a href="https://plus.google.com/117057010090263967467?hl=es-ES">@MaryEmma</a> &
<a href="https://plus.google.com/117447300796689392470?hl=es-ES">EnjoyThePanic</a></p>
<p>You can show us your missions at the <a href="#timetable">registration point</a> or send us a profile snapshot by email to <a href="mailto:missiondaymadrid@gmail.com">missiondaymadrid@gmail.com</a></p>
</div>
</div>
</div>
</section>
<!-- // Introduction -->
<!-- DYNAMIC MISSIONDAY MAP - will be populated with an javascript -->
<section id="map" class="hidden-xs">
<div class="map"></div>
</section>
<!-- // map -->
<section id="missions">
<div class="container clearfix">
<img src="assets/img/md-blank.svg" class="mdlogo">
<!-- col mission badge images -->
<div class="row">
<div class="col-sm-6 col-md-5" style="text-align:center">
<!--
Berlin had 24 Missions - this is also niantics limit for missiondays atm.
Mission Badge Hover Script:
- each mission needs its own ID (see: id='mID-XX')
- these ID's need to matches the class at row: 242 <ul class="mission-names"
- on mission-badge hover -> highlight matching Missioname
- super simple....
PSD FOR BADGES CAN BE FOUND ON GITHUB
todo: add psd to github...
-->
<img id="mID-01" class="mission-badge" src="assets/mission-badge/01.png" alt="Teatro Real" />
<img id="mID-02" class="mission-badge" src="assets/mission-badge/02.png" alt="Palacio Real" />
<img id="mID-03" class="mission-badge" src="assets/mission-badge/03.png" alt="Catedral de la Almudena" />
<img id="mID-04" class="mission-badge" src="assets/mission-badge/04.png" alt="Mercado de San Miguel" />
<img id="mID-05" class="mission-badge" src="assets/mission-badge/05.png" alt="Plaza Mayor" />
<img id="mID-06" class="mission-badge" src="assets/mission-badge/06.png" alt="Real Casa de Correos" />
<img id="mID-07" class="mission-badge" src="assets/mission-badge/07.png" alt="Oso y Madroño" />
<img id="mID-08" class="mission-badge" src="assets/mission-badge/08.png" alt="Palacio de las Cortes" />
<img id="mID-09" class="mission-badge" src="assets/mission-badge/09.png" alt="Fuente de Neptuno" />
<img id="mID-10" class="mission-badge" src="assets/mission-badge/10.png" alt="Caixa Forum" />
<img id="mID-11" class="mission-badge" src="assets/mission-badge/11.png" alt="Museo Reina Sofía" />
<img id="mID-12" class="mission-badge" src="assets/mission-badge/12.png" alt="Real Jardín Botánico" />
<img id="mID-13" class="mission-badge" src="assets/mission-badge/13.png" alt="Museo del Prado" />
<img id="mID-14" class="mission-badge" src="assets/mission-badge/14.png" alt="Palacio de la Bolsa de Madrid" />
<img id="mID-15" class="mission-badge" src="assets/mission-badge/15.png" alt="Parque del Buen Retiro" />
<img id="mID-16" class="mission-badge" src="assets/mission-badge/16.png" alt="Puerta de Alcalá" />
<img id="mID-17" class="mission-badge" src="assets/mission-badge/17.png" alt="Fuente de Cibeles" />
<img id="mID-18" class="mission-badge" src="assets/mission-badge/18.png" alt="Biblioteca Nacional" />
<img id="mID-19" class="mission-badge" src="assets/mission-badge/19.png" alt="Estatua de Colón" />
<img id="mID-20" class="mission-badge" src="assets/mission-badge/20.png" alt="Venus de Botero" />
<img id="mID-21" class="mission-badge" src="assets/mission-badge/21.png" alt="Palacio de Longoria" />
<img id="mID-22" class="mission-badge" src="assets/mission-badge/22.png" alt="Chueca" />
<img id="mID-23" class="mission-badge" src="assets/mission-badge/23.png" alt="Gran Vía" />
<img id="mID-24" class="mission-badge" src="assets/mission-badge/24.png" alt="Plaza del Callao" />
<!-- add Link to your Google Map here - WE LOVE GOOD UX -->
<a class="wow bounceInUp button-default button-md" style="margin:1em auto 2em auto" data-wow-duration="2s" href="https://www.google.com/maps/d/viewer?hl=es&hl=es&mid=1NgZvCHt7bdleRXQJERaz1yjqE2M3tTQ1&ll=40.41744019517267%2C-3.7001463802398575&z=14">Open Map</a>
<!-- // MAP -->
<br>
</div>
<!-- end col mission badge images -->
<!-- col for mission name list -->
<div class="col-sm-6 col-md-7">
<!-- yeah we like to brag.... -->
<div class="section-title no-mb"> <h1>CREATED BY REAL <span>AGENTS</span></h1> </div>
<p>
24 <span class="highlight">Missions</span> across Madrid are waiting to be discovered. <br>
All Missions are created and tested by local Agents to ensure a great Mission Day experience.
</p>
<!-- MISSION NAME LIST -->
<ul class="mission-names" id="mName">
<!-- MISSION SHOULD BE THE EXCACT NAME AS IT APPEARS IN THE SCANNER!! -->
<li class="mID-01">Teatro Real</li>
<li class="mID-02">Palacio Real</li>
<li class="mID-03">Catedral de la Almudena</li>
<li class="mID-04">Mercado de San Miguel</li>
<li class="mID-05">Plaza Mayor</li>
<li class="mID-06">Real Casa de Correos</li>
<li class="mID-07">Oso y Madroño</li>
<li class="mID-08">Palacio de las Cortes</li>
<li class="mID-09">Fuente de Neptuno</li>
<li class="mID-10">Caixa Forum</li>
<li class="mID-11">Museo Reina Sofía</li>
<li class="mID-12">Real Jardín Botánico</li>
<li class="mID-13">Museo del Prado</li>
<li class="mID-14">Palacio de la Bolsa de Madrid</li>
<li class="mID-15">Parque del Buen Retiro</li>
<li class="mID-16">Puerta de Alcalá</li>
<li class="mID-17">Fuente de Cibeles</li>
<li class="mID-18">Biblioteca Nacional</li>
<li class="mID-19">Estatua de Colón</li>
<li class="mID-20">Venus de Botero</li>
<li class="mID-21">Palacio de Longoria</li>
<li class="mID-22">Chueca</li>
<li class="mID-23">Gran Vía</li>
<li class="mID-24">Plaza del Callao</li>
</ul><!-- end Mission Name List -->
</div><!-- end col for missionday name list -->
</div><!-- end row -->
</div> <!-- end container -->
</section>
<!-- TIME TABLE -->
<section id="timetable">
<div class="container clearfix">
<div class="row">
<div class="col-md-9 col-md-offset-2">
<div class="section-title text-center title-blue">
<h1>Timetable<span> MD: Madrid</span></h1>
</div>
</div>
</div> <!-- end row -->
<div class="row">
<div class="col-md-9 col-md-offset-2">
<!--
EVENT TIME TABLE
change to your needs... but add Map Links, Agents will love it!
-->
<table class="table timetable text-center">
<thead class="text-center">
<th>When?</th>
<th>What?</th>
</thead>
<tbody>
<tr>
<td>11:00</td>
<td> <strong>Group Picture @ <a class="locationLink" href="https://www.ingress.com/intel?ll=40.414725,-3.691811&z=15&pll=40.414725,-3.691811">"Un pintor para El Prado"</a> Puerta de Jerónimos, Paseo del Prado 11 </strong><br>
<br><a href="https://www.google.com/maps?q=40.414725,-3.691811">[Location]</a>
</td>
</tr>
<tr>
<td> 11:30 - 16:00 </td>
<td> <strong>Registration</strong><br>
Show us your Missions @ Vips Neptuno <br><a clas="locationLink" href="https://goo.gl/maps/mPeAUPzieXR2">[Location]</a>
</td>
</tr>
</tbody>
</table><!-- end time table -->
</div> <!-- end col -->
</div> <!-- end row -->
</div> <!-- end container -->
</section>
<section id="#" style="background:url(assets/img/bg_footer.jpg) center no-repeat;">
<div class="container clearfix">
<div class="row">
<div class="col-md-12">
<!-- We used a custom Sign-Up Script - you can add a Link to your Sign-Up thingy here or just link to the community -->
<div class="#-box wow fadeInUp">
<img src="assets/img/md-blank.svg" class="mdlogo" >
<a href="https://www.eventbrite.es/e/registro-mission-day-madrid-39952957371?ref=ebtnebregn" class="btn2">Register</a>
</div>
<!-- end # -->
</div><!-- end col -->
</div><!-- end row -->
</div><!-- end container -->
</section>
<footer >
<small> copyright 2017 by madrid.missionday.es based on <a href="http://github.com/garytube/missionday">@garytube/missionday</a>| a Madrid ingress cross faction project | this is not the official niantic page></small>
</footer>
<!-- js -->
<script src="https://code.jquery.com/jquery-2.2.4.min.js" integrity="sha256-BbhdlvQf/xTY9gja0Dq3HiwQF8LaCRTXxZKRutelT44=" crossorigin="anonymous"></script>
<!-- fade in animation -->
<script src="assets/js/wow.min.js"></script>
<!-- missionday template stuff -->
<script src="assets/js/missionday.js"></script>
<!--
google maps api - ADD YOUR API KEY HERE
doc: https://developers.google.com/maps/documentation/javascript/get-api-key?hl=de
NOTE: you need to white list every domain that you are gonna use also localhost if you working localy
-->
<script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyD1Aeezb1-7mmH0QI8z2oueCIrgqxtCRic" type="text/javascript"></script>
<script>
function initialize() {
//add map, the type of map
var map = new google.maps.Map(document.getElementById('map'), {
zoom: 14,
// YOU NEED TO CHANGE THAT TO YOUR CITY
center: new google.maps.LatLng(40.4201894,-3.6979992),
scrollwheel: false, //we disable de scroll over the map, it is a really annoing when you scroll through page
styles: [{"featureType":"landscape","stylers":[{"hue":"#FFBB00"},{"saturation":43.400000000000006},{"lightness":37.599999999999994},{"gamma":1}]},{"featureType":"road.highway","stylers":[{"hue":"#FFC200"},{"saturation":-61.8},{"lightness":45.599999999999994},{"gamma":1}]},{"featureType":"road.arterial","stylers":[{"hue":"#FF0300"},{"saturation":-100},{"lightness":51.19999999999999},{"gamma":1}]},{"featureType":"road.local","stylers":[{"hue":"#FF0300"},{"saturation":-100},{"lightness":52},{"gamma":1}]},{"featureType":"water","stylers":[{"hue":"#0078FF"},{"saturation":-13.200000000000003},{"lightness":2.4000000000000057},{"gamma":1}]},{"featureType":"poi","stylers":[{"hue":"#00FF6A"},{"saturation":-1.0989010989011234},{"lightness":11.200000000000017},{"gamma":1}]}]
});
//add locations
// We used a CMS SYSTEM TO DO THIS .... Maybe i will write php script for it....
// Just copy the rows and edit the Name and LAT / LONG and ICON
// This will be rendered on the map
var locations = [
['<h5 stlye="margin-bottom:5px; font-weight:bold">Teatro Real</h5>', 40.41774, -3.70947, 'assets/mission-badge/01s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Palacio Real</h5>', 40.41834, -3.71334, 'assets/mission-badge/02s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Catedral de la Almudena</h5>',40.41623, -3.71436 , 'assets/mission-badge/03s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Mercado de San Miguel</h5>', 40.41553, -3.71089, 'assets/mission-badge/04s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Plaza Mayor</h5>', 40.41576, -3.70836, 'assets/mission-badge/05s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Real Casa de Correos</h5>', 40.41655, -3.70401, 'assets/mission-badge/06s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Oso y Madroño</h5>', 40.41702, -3.70264, 'assets/mission-badge/07s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Palacio de las Cortes</h5>', 40.4165, -3.69958, 'assets/mission-badge/08s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Fuente de Neptuno</h5>', 40.41568, -3.6968, 'assets/mission-badge/09s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Caixa Forum</h5>', 40.41363, -3.69366, 'assets/mission-badge/10s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Museo Reina Sofía</h5>', 40.41068, -3.69369, 'assets/mission-badge/11s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Real Jardín Botánico</h5>', 40.41016, -3.69252, 'assets/mission-badge/12s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Museo del Prado</h5>', 40.41331, -3.69237, 'assets/mission-badge/13s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Palacio de la Bolsa de Madrid</h5>', 40.41489, -3.69302, 'assets/mission-badge/14s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Parque del Buen Retiro</h5>', 40.41819, -3.69292, 'assets/mission-badge/15s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Puerta de Alcalá</h5>', 40.42037, -3.68797, 'assets/mission-badge/16s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Fuente de Cibeles</h5>', 40.41881, -3.69281, 'assets/mission-badge/17s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Biblioteca Nacional</h5>', 40.42218, -3.69234, 'assets/mission-badge/18s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Estatua de Colón</h5>', 40.42401, -3.69018, 'assets/mission-badge/19s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Venus de Botero</h5>', 40.42564, -3.69118, 'assets/mission-badge/20s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Palacio de Longoria</h5>', 40.42388, -3.69361, 'assets/mission-badge/21s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Chueca</h5>', 40.42473, -3.69705, 'assets/mission-badge/22s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Gran Vía</h5>', 40.42107, -3.69918, 'assets/mission-badge/23s.png'], // each entry has a , at the end
['<h5 stlye="margin-bottom:5px; font-weight:bold">Plaza del Callao</h5>', 40.42029, -3.70345, 'assets/mission-badge/24s.png'] // last row has !NO! ,
];
//declare marker call it 'i'
var marker, i;
//declare infowindow
var infowindow = new google.maps.InfoWindow();
//add marker to each locations
for (i = 0; i < locations.length; i++) {
marker = new google.maps.Marker({
animation: google.maps.Animation.DROP,
position: new google.maps.LatLng(locations[i][1], locations[i][2]),
map: map,
icon: locations[i][3]
});
//click function to marker, pops up infowindow
google.maps.event.addListener(marker, 'click', (function(marker, i) {
return function() {
infowindow.setContent(locations[i][0]);
infowindow.open(map, marker);
}
})(marker, i));
}
}
google.maps.event.addDomListener(window, 'load', initialize);
</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*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','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-110085870-1', 'auto');
ga('send', 'pageview');
</script>
</body>
</html>