attribution:'Map tiles by <a href="https://carto.com/">Carto</a>, under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY 3.0.</a> Data by <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>, under ODbL.',
div.innerHTML+='Study types (click to hide/show)<br><br>'
div.innerHTML+=`<span class="studyLegend" title="Click to hide/show" onclick="toggleType('diagnosis')" ><i style="background:#1B9E77">${typeVisible('diagnosis')}</i>Diagnosis</span><br>`
div.innerHTML+=`<span class="studyLegend" title="Click to hide/show" onclick="toggleType('understanding')" ><i style="background:#BF5B17">${typeVisible('understanding')}</i>Disease understanding</span><br>`
div.innerHTML+=`<span class="studyLegend" title="Click to hide/show" onclick="toggleType('management')"><i style="background:#386CB0">${typeVisible('management')}</i>Therapeutic stategies</span><br>`
div.innerHTML+=`<span class="studyLegend" title="Click to hide/show" onclick="toggleType('drugs')"><i style="background:#7FC97F">${typeVisible('drugs')}</i>Drugs</span><br>`
div.innerHTML+=`<span class="studyLegend" title="Click to hide/show" onclick="toggleType('ATMP')"><i style="background:#FDC086">${typeVisible('ATMP')}</i>Advanced therapy medicinal products</span><br>`
div.innerHTML+=`<span class="studyLegend" title="Click to hide/show" onclick="toggleType('vaccine')"><i style="background:#BEAED4">${typeVisible('vaccine')}</i>Vaccines</span><br>`
div.innerHTML+=`<span class="studyLegend" title="Click to hide/show" onclick="toggleType('traditional chinese medicine')"><i style="background:#F0027F">${typeVisible('traditional chinese medicine')}</i>Traditional Chinese medicine</span><br>`
div.innerHTML+=`<span class="studyLegend" title="Click to hide/show" onclick="toggleType('impact on the helpers')"><i style="background:#FFFF99">${typeVisible('impact on the helpers')}</i>Impact on helpers</span><br>`
div.innerHTML+=`<span class="studyLegend" title="Click to hide/show" onclick="toggleType('other')"><i style="background:#666666">${typeVisible('other')}</i>Other</span><br>`
this.mapAttribution='Map tiles by <a href="https://carto.com/">Carto</a>, under <a href="https://creativecommons.org/licenses/by/3.0/">CC BY 3.0.</a> Data by <a href="https://www.openstreetmap.org/copyright">OpenStreetMap</a>, under ODbL.'
this.studyCategoryColors=[]
this.studyTypeColors=[]
// Set study taxonomies (type and categories) colors
this.setTaxonomiesColors()
this.initMap()
}
/**
* Init map component using leaflet and timedimension