Carte: prestas
This commit is contained in:
parent
a58ef9dcf2
commit
c9f851fa77
4 changed files with 24 additions and 18 deletions
|
|
@ -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]+' : <a href="mailto:'+places[i][2][j][1]+'">'+places[i][2][j][1]+'</a>';
|
||||
}
|
||||
L.marker(places[i][0]).addTo(map)
|
||||
.bindPopup(popup);
|
||||
}
|
||||
</script>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue