This commit is contained in:
Tykayn 2025-04-18 23:36:04 +02:00 committed by tykayn
parent f1bdb81723
commit 093b4fbe34
5 changed files with 69 additions and 53 deletions

View file

@ -1111,7 +1111,7 @@ function searchOsmoseIssues(map) {
});
if (tooClose) {
console.log(`Marqueur Osmose ignoré car trop proche d'une station existante: ${lat},${lon}`);
// console.log(`Marqueur Osmose ignoré car trop proche d'une station existante: ${lat},${lon}`);
return;
}
}
@ -1242,12 +1242,6 @@ function init() {
"Bornes potentielles (Osmose)": osmose_markers
};
// Créer deux contrôles de couches séparés
const baseLayerControl = L.control.layers(baseLayers, null, {
collapsed: true,
className: 'leaflet-control-layers base-layers',
id: 'base-layers-control'
}).addTo(map);
const overlayControl = L.control.layers(null, overlayMaps, {
collapsed: true,