import jsVectorMap from "jsvectormap";
import "../us-aea-en";
const map01 = () => {
const mapSelector = document.querySelectorAll("#mapOne");
if (mapSelector.length) {
const mapOne = new jsVectorMap({
selector: "#mapOne",
map: "us_aea_en",
zoomButtons: true,
regionStyle: {
initial: {
fill: "#C8D0D8",
},
hover: {
fillOpacity: 1,
fill: "#3056D3",
},
},
regionLabelStyle: {
initial: {
fontFamily: "Satoshi",
fontWeight: "semibold",
fill: "#fff",
},
hover: {
cursor: "pointer",
},
},
labels: {
regions: {
render(code) {
return code.split("-")[1];
},
},
},
});
}
};
export default map01;
Anons79 File Manager Version 1.0, Coded By Anons79
Email: [email protected]