Widget:PlaceNamesChoropleths: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 262: | Line 262: | ||
for (var key in d.counties) { | for (var key in d.counties) { | ||
var cur = d.counties[key]; | var cur = d.counties[key]; | ||
paths[cur.path].style. | paths[cur.path].style.strokeWidth = "0px"; | ||
} | } | ||
} else { | } else { | ||
Line 269: | Line 269: | ||
var cur = d.counties[key]; | var cur = d.counties[key]; | ||
paths[cur.path].style.fill = cur.totalcol; | paths[cur.path].style.fill = cur.totalcol; | ||
paths[cur.path].style. | paths[cur.path].style.strokeWidth = "0px"; | ||
} | } | ||
} else if (w.nav.choroVar === "area") { | } else if (w.nav.choroVar === "area") { | ||
Line 275: | Line 275: | ||
var cur = d.counties[key]; | var cur = d.counties[key]; | ||
paths[cur.path].style.fill = cur.pnperkm2col; | paths[cur.path].style.fill = cur.pnperkm2col; | ||
paths[cur.path].style. | paths[cur.path].style.strokeWidth = "0px"; | ||
} | } | ||
} else { | } else { | ||
Line 281: | Line 281: | ||
var cur = d.counties[key]; | var cur = d.counties[key]; | ||
paths[cur.path].style.fill = cur.pnperkm2popcol; | paths[cur.path].style.fill = cur.pnperkm2popcol; | ||
paths[cur.path].style. | paths[cur.path].style.strokeWidth = "0px"; | ||
} | } | ||
} | } |
Revision as of 13:22, 22 May 2020
This widget displays the navigation map on country and administrative division landing pages in the place-names section of IRHB. It takes no parameters.