Carte: prestas

This commit is contained in:
Pascal Engélibert
2023-04-27 23:51:20 +02:00
parent a58ef9dcf2
commit c9f851fa77
4 changed files with 24 additions and 18 deletions

View File

@ -10,6 +10,11 @@
{{body|safe}}
];
for(i in places) {
L.marker(places[i]).addTo(map);
var popup = '<strong>'+places[i][1]+'</strong>';
for(j in places[i][2]) {
popup += '<br/>'+places[i][2][j][0]+'&nbsp;: <a href="mailto:'+places[i][2][j][1]+'">'+places[i][2][j][1]+'</a>';
}
L.marker(places[i][0]).addTo(map)
.bindPopup(popup);
}
</script>