bertin.draw({
layers: [
{
geojson: world,
tooltip: {
fields: [
"$ISO3_CODE",
"- - - - - - - - - - - - - ",
"$NAME_ENGL",
"source: bertin.js"
],
fill: "#141414",
stroke: "red",
strokeWidth: 3,
fillOpacity: 0.7,
strokeOpacity: 1,
fontWeight: ["bold", "normal", "normal", "lighter"],
fontSize: [50, 14, 25, 10],
fontStyle: ["normal", "normal", "normal", "italic"],
col: ["red", "red", "red", "yellow"]
}
},
{ type: "graticule" },
{ type: "outline" }
]
})