@@ -8,7 +8,11 @@ $(document).ready(function () {
88
99 var markers = locations . map ( ( location ) =>
1010 L . marker ( [ location . lat , location . lon ] ) . bindPopup (
11- '<span class="location-marker">' + location . venue + "</span>"
11+ '<div class="location-popup">' +
12+ '<p class="location-marker">' + location . title + '</p>' +
13+ '<p class="location-sponsors">sponsored by ' + location . sponsors . join ( ', ' ) + '</p>' +
14+ '<p class="location-meetup"><a href="' + location . link + '"><img src="../pictures/meetup.svg" alt=""> Meetup group</p>' +
15+ '</div>'
1216 )
1317 ) ;
1418 markers . forEach ( ( marker ) => {
@@ -21,22 +25,30 @@ $(document).ready(function () {
2125
2226var locations = [
2327 {
24- venue : "Quatico Solutions AG" ,
28+ title : "Hackergarten Zürich" ,
29+ sponsors : [ "Quatico Solutions AG" ] ,
30+ link : "https://www.meetup.com/hackergarten-zurich/" ,
2531 lat : 47.3925495 ,
2632 lon : 8.507826793619888 ,
2733 } ,
2834 {
29- venue : "codecentric AG" ,
35+ title : "Hackergarten Stuttgart" ,
36+ sponsors : [ "codecentric AG" ] ,
37+ link : "https://www.meetup.com/de-DE/hackergarten-stuttgart/" ,
3038 lat : 48.72592 ,
3139 lon : 9.1144 ,
3240 } ,
3341 {
34- venue : "CSS Versicherung" ,
42+ title : "Hackergarten Luzern" ,
43+ sponsors : [ "CSS Versicherung" ] ,
44+ link : "https://www.meetup.com/hackergarten-luzern/" ,
3545 lat : 47.0435895 ,
3646 lon : 8.315118 ,
3747 } ,
3848 {
39- venue : "Karakun AG" ,
49+ title : "Hackergarten Basel" ,
50+ sponsors : [ "Karakun AG" ] ,
51+ link : "https://www.meetup.com/hackergarten-basel/" ,
4052 lat : 47.5487602 ,
4153 lon : 7.5879349 ,
4254 } ,
0 commit comments