Map of protests against pension reform on Tuesday, June 6
`; } // Translate to French if (datum.participants_syndicats != ” && datum.participants_syndicats != null) { content += `
`; } if (datum.participants_police != ” && datum.participants_police != null) { content += `
`; } if (datum.participants_presse != ” && datum.participants_presse != null) { content += `
`; } if (datum.participants_occurrence != ” && datum.participants_occurrence != null) { content += `
`; } // Remove detailed description in English if (datum.description_libre != ” && datum.description_libre != null) { content += `
`; } tooltip.select(“.d_tooltipcontent_carto_manif_retraites_0606”) .html(`
`); if (!isMobile) { let translateX = x 350 ? ‘-90%’ : ‘-40%’; let translateY = y { onMouseLeave(); } document.querySelector(“.d_bottom_carto_manif_retraites_0606”).onclick = () => { onMouseLeave(); } } // Draw legend // Translate to English let legendHtml = `
`; if (hasOccurrence) legendHtml += `
`; document.querySelector(“.d_legend_carto_manif_retraites_0606”).innerHTML = legendHtml + `
`; // Event listener on the filter and update loops if needed document.querySelectorAll(“input[class=”carto_retraite_categ”]”).forEach(box => { box.onchange = () => { if (categs.length === 1 && box.checked === false) { box.checked = true; return; } if (categs.length === 1 && box.checked === false) include(box.value)) categs = categs.filter(e => e !== box.value); else categs.push(box.value); updateCircles(categs); } }); } // run drawMap( );
Source: Le Monde
Leave a Reply