Ajout du point général "Interhack Camp"
This commit is contained in:
parent
b18e973b5e
commit
2bd390d1e2
2 changed files with 20 additions and 0 deletions
12
js/map.js
12
js/map.js
|
|
@ -71,6 +71,18 @@ export async function init(){
|
|||
maxZoom: 21
|
||||
}).addTo(map)
|
||||
|
||||
L.marker(
|
||||
map_center,
|
||||
{
|
||||
icon: L.divIcon({
|
||||
html: `<img src="./logo.png" alt="Logo du camp interhack" />`,
|
||||
className: "center-marker"
|
||||
}),
|
||||
title: "Camp Interhack 2026",
|
||||
minZoom: 18,
|
||||
}
|
||||
).addTo(map)
|
||||
|
||||
// Parametrage de la carte initiale
|
||||
map.setMaxBounds(map_bounds)
|
||||
map.setView(map_center, 19, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue