L’aventure Objectif Volcans prend ses racines dans notre envie de partager nos connaissances et notre passion auprès d’un large public en accompagnant des voyages à la découverte des volcans du monde…
…quoi de mieux qu’une belle carte des principaux volcans du monde pour vous donner des idées de voyage ?
Actifs
Endormis
Éteints
Tous
https://unpkg.com/leaflet/dist/leaflet.js
// ✅ INITIALISATION
var map = L.map(‘map’).setView([37.75, 14.99], 6);
L.tileLayer(‘
https:// {s}.tile.openstreetmap.org/{z}/{x}/{y}.png’, {
attribution: ‘© OpenStreetMap’
}).addTo(map);
var allMarkers = [];
var labelMarkers = [];
var topo = L.tileLayer(‘
https:// {s}.tile.opentopomap.org/{z}/{x}/{y}.png’);
var satellite = L.tileLayer(‘
https://server.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer/tile/ {z}/{y}/{x}’);
var dark = L.tileLayer(‘
https:// {s}.basemaps.cartocdn.com/dark_all/{z}/{x}/{y}{r}.png’);
// fond par défaut
topo.addTo(map);
// contrôle
L.control.layers({
« Topographie »: topo,
« Satellite »: satellite,
« Sombre »: dark
}).addTo(map);
// 🎨 STYLE
function getStyle(statut) {
if (!statut) return {color: »blue », size:6};
statut = statut.toLowerCase();
if (statut === « yes ») return {color: »red », size:10};
if (statut === « no ») return {color: »yellow », size:5};
if (statut.includes(« active »)) return {color: »red », size:10};
if (statut.includes(« dormant »)) return {color: »orange », size:8};
if (statut.includes(« extinct »)) return {color: »yellow », size:5};
return {color: »blue », size:6};
}
// 🔺 TRIANGLE
function createTriangleIcon(color, size) {
return L.divIcon({
className: « »,
html: `
`,
iconSize: [size*2, size*1.5],
iconAnchor: [size, size]
});
}
// ✅ DATA (mets ton JSON ici)
var data = [
{
« Volcano_Number »: 211060,
« nom »: « Etna »,
« Country »: « Italy »,
« Primary_Volcano_Type »: « Stratovolcano(es) »,
« Activity_Evidence »: « Eruption Observed »,
« Last_Known_Eruption »: « 2024 CE »,
« statut »: « Yes »,
« Region »: « Mediterranean and Western Asia »,
« Subregion »: « Italy »,
« lat »: 37.748,
« lng »: 14.999,
« Elevation_m »: 3357,
« Dominant_Rock_Type »: « Trachybasalt / Tephrite Basanite »,
« Tectonic_Setting »: « Subduction zone / Continental crust (\u003E25 km) »,
« AGE »: « Holocene »,
« Etiquettage »: « Priorité 1 »,
« REMARQUABLE »: « Remarquable »,
« Remarquabilités »: « Frequently Active | Multiple Large Eruptions | Significant Lava Effusion »
},
{
« Volcano_Number »: 222150,
« nom »: « Kilimanjaro »,
« Country »: « Tanzania »,
« Primary_Volcano_Type »: « Stratovolcano »,
« Activity_Evidence »: « »,
« Last_Known_Eruption »: « »,
« statut »: « No »,
« Region »: « Africa and Red Sea »,
« Subregion »: « Africa (eastern) »,
« lat »: -3.07,
« lng »: 37.35,
« Elevation_m »: 5881,
« Dominant_Rock_Type »: « »,
« Tectonic_Setting »: « Rift zone / Continental crust (\u003E25 km) »,
« AGE »: « Pleistocene »,
« Etiquettage »: « Priorité 2 »,
« REMARQUABLE »: « Non remarquable »,
« Remarquabilités »: « nd »
},
{
« Volcano_Number »: 355060,
« nom »: « Ollague »,
« Country »: « Chile-Bolivia »,
« Primary_Volcano_Type »: « Stratovolcano »,
« Activity_Evidence »: « »,
« Last_Known_Eruption »: « »,
« statut »: « No »,
« Region »: « South America »,
« Subregion »: « Northern Chile. Bolivia and Argentina »,
« lat »: -21.3,
« lng »: -68.18,
« Elevation_m »: 5868,
« Dominant_Rock_Type »: « »,
« Tectonic_Setting »: « Subduction zone / Continental crust (\u003E25 km) »,
« AGE »: « Pleistocene »,
« Etiquettage »: « Priorité 3 »,
« REMARQUABLE »: « Non remarquable »,
« Remarquabilités »: « nd »
},
{
« Volcano_Number »: 355011,
« nom »: « Taapaca »,
« Country »: « Chile »,
« Primary_Volcano_Type »: « Complex »,
« Activity_Evidence »: « Eruption Dated »,
« Last_Known_Eruption »: « 320 BCE »,
« statut »: « No »,
« Region »: « South America »,
« Subregion »: « Northern Chile. Bolivia and Argentina »,
« lat »: -18.1,
« lng »: -69.5,
« Elevation_m »: 5860,
« Dominant_Rock_Type »: « Dacite »,
« Tectonic_Setting »: « Subduction zone / Continental crust (\u003E25 km) »,
« AGE »: « Holocene »,
« Etiquettage »: « Priorité 3 »,
« REMARQUABLE »: « Non remarquable »,
« Remarquabilités »: « nd »
},
{
« Volcano_Number »: 355101,
« nom »: « Cordon de Puntas Negras »,
« Country »: « Chile »,
« Primary_Volcano_Type »: « Stratovolcano(es) »,
« Activity_Evidence »: « Evidence Credible »,
« Last_Known_Eruption »: « Unknown »,
« statut »: « No »,
« Region »: « South America »,
« Subregion »: « Northern Chile. Bolivia and Argentina »,
« lat »: -23.743,
« lng »: -67.534,
« Elevation_m »: 5852,
« Dominant_Rock_Type »: « Andesite / Basaltic Andesite »,
« Tectonic_Setting »: « Subduction zone / Continental crust (\u003E25 km) »,
« AGE »: « Holocene »,
« Etiquettage »: « Priorité 3 »,
« REMARQUABLE »: « Non remarquable »,
« Remarquabilités »: « nd »
},
{
« Volcano_Number »: 355061,
« nom »: « Azufre. Cerro del »,
« Country »: « Chile »,
« Primary_Volcano_Type »: « Stratovolcano »,
« Activity_Evidence »: « »,
« Last_Known_Eruption »: « »,
« statut »: « No »,
« Region »: « South America »,
« Subregion »: « Northern Chile. Bolivia and Argentina »,
« lat »: -21.787,
« lng »: -68.237,
« Elevation_m »: 5846,
« Dominant_Rock_Type »: « »,
« Tectonic_Setting »: « Subduction zone / Continental crust (\u003E25 km) »,
« AGE »: « Pleistocene »,
« Etiquettage »: « Priorité 3 »,
« REMARQUABLE »: « Non remarquable »,
« Remarquabilités »: « nd »
},
{
« Volcano_Number »: 211070,
« nom »: « Campi Flegrei del Mar di Sicilia »,
« Country »: « Italy »,
« Primary_Volcano_Type »: « Volcanic field »,
« Activity_Evidence »: « Eruption Observed »,
« Last_Known_Eruption »: « 1867 CE »,
« statut »: « No »,
« Region »: « Mediterranean and Western Asia »,
« Subregion »: « Italy »,
« lat »: 37.1,
« lng »: 12.7,
« Elevation_m »: -8,
« Dominant_Rock_Type »: « Trachybasalt / Tephrite Basanite »,
« Tectonic_Setting »: « Rift zone / Continental crust (\u003E25 km) »,
« AGE »: « Holocene »,
« Etiquettage »: « Priorité 3 »,
« REMARQUABLE »: « Non remarquable »,
« Remarquabilités »: « nd »
},
{
« Volcano_Number »: 355842,
« nom »: « Tocorpuri. Cerros de »,
« Country »: « Chile-Bolivia »,
« Primary_Volcano_Type »: « Stratovolcano »,
« Activity_Evidence »: « »,
« Last_Known_Eruption »: « »,
« statut »: « No »,
« Region »: « South America »,
« Subregion »: « Northern Chile. Bolivia and Argentina »,
« lat »: -22.439,
« lng »: -67.888,
« Elevation_m »: 5808,
« Dominant_Rock_Type »: « »,
« Tectonic_Setting »: « Subduction zone / Continental crust (\u003E25 km) »,
« AGE »: « Pleistocene »,
« Etiquettage »: « Priorité 3 »,
« REMARQUABLE »: « Non remarquable »,
« Remarquabilités »: « nd »
}
];
// ✅ CREATION
data.forEach(v => {
if (!v.lat || !v.lng) return;
var style = getStyle(v.statut);
var marker = L.marker([v.lat, v.lng], {
icon: createTriangleIcon(style.color, style.size)
});
marker.category = v.statut;
marker.bindPopup(`
${v.nom}
🌍 ${v.Country}
🔥 ${v.statut}
⛰️ ${v.Elevation_m} m
`);
marker.addTo(map);
allMarkers.push(marker);
// ✅ LABEL (stocké mais PAS affiché direct)
if (v.REMARQUABLE && v.REMARQUABLE.toLowerCase().includes(« remarquable »)) {
var label = L.marker([v.lat, v.lng], {
icon: L.divIcon({
className: « »,
html: `
${v.nom}
`,
iconAnchor: [-10, 10]
}),
interactive: false
});
labelMarkers.push(label);
}
});
// 🔎 FILTRE
function filterVolcans(type) {
allMarkers.forEach(m => map.removeLayer(m));
allMarkers.forEach(m => {
if (type === « all ») {
m.addTo(map);
}
else if (type === « Active » && m.category === « Yes ») {
m.addTo(map);
}
else if (type === « Extinct » && m.category === « No ») {
m.addTo(map);
}
else if (m.category && m.category.includes(type)) {
m.addTo(map);
}
});
}
// 🧠 GESTION ZOOM LABELS
function updateLabels() {
var zoom = map.getZoom();
if (zoom >= 5) { // 👉 seuil (modifiable)
labelMarkers.forEach(l => {
if (!map.hasLayer(l)) {
l.addTo(map);
}
});
} else {
labelMarkers.forEach(l => {
if (map.hasLayer(l)) {
map.removeLayer(l);
}
});
}
}
// 🔁 événements
map.on(‘zoomend’, updateLabels);
// ✅ appel initial
updateLabels();
N’hésitez pas à nous contacter pour que l’on réfléchisse ensemble à votre prochaine destination volcanique en groupe privé !
Que nous y soyons déjà allés ou pas, notre accompagnement vous permettra de profiter pleinement de vos vacances et ce que la nature vous offrira de plus beaux !
Secteur EUROPE
Secteur AFRIQUE
Secteur OCEAN INDIEN
Secteur JAPON
Secteur INDONESIE
Secteur PACIFIQUE OUEST
Secteur PACIFIQUE SUD
Secteur PACIFIQUE NORD
Secteur AMERIQUE DU NORD
Secteur AMERIQUE CENTRALE
Secteur AMERIQUE DU SUD
Secteur POLE NORD
Secteur POLE SUD
Secteur ASIE
Vous devez être connecté pour poster un commentaire.