Contact Map with SVG

by Zsanett Tamás

HTML

<!-- <section id="contactMap"></section> -->

SCSS

#contactMap {
	#CDS_map_region1 {
		cursor: pointer;
	}
}

JavaScript

function showSelectedCountry( name ) {

let selectedSVGFill = document.getElementById("contactMap").contentDocument.getElementById( _name );

 selectedSVGFill.setAttribute("fill","#F2F2F2");

}