Widget:PlaceNamesNavigationMapEnglish: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 212: | Line 212: | ||
var cur = d.counties[key]; | var cur = d.counties[key]; | ||
paths[cur.path].style.stroke = "#bfc5c7"; | paths[cur.path].style.stroke = "#bfc5c7"; | ||
paths[cur.path].style.strokeWidth = "2"; | |||
} | } | ||
} else { | } else { | ||
Line 219: | Line 220: | ||
paths[cur.path].style.fill = cur.totalcol; | paths[cur.path].style.fill = cur.totalcol; | ||
paths[cur.path].style.stroke = "#bfc5c7"; | paths[cur.path].style.stroke = "#bfc5c7"; | ||
paths[cur.path].style.strokeWidth = "2"; | |||
} | } | ||
} else if (w.nav.choroVar === "area") { | } else if (w.nav.choroVar === "area") { | ||
Line 225: | Line 227: | ||
paths[cur.path].style.fill = cur.pnperkm2col; | paths[cur.path].style.fill = cur.pnperkm2col; | ||
paths[cur.path].style.stroke = "#bfc5c7"; | paths[cur.path].style.stroke = "#bfc5c7"; | ||
paths[cur.path].style.strokeWidth = "2"; | |||
} | } | ||
} else { | } else { | ||
Line 231: | Line 234: | ||
paths[cur.path].style.fill = cur.pnperkm2popcol; | paths[cur.path].style.fill = cur.pnperkm2popcol; | ||
paths[cur.path].style.stroke = "#bfc5c7"; | paths[cur.path].style.stroke = "#bfc5c7"; | ||
paths[cur.path].style.strokeWidth = "2"; | |||
} | } | ||
} | } |
Revision as of 21:07, 19 May 2019
This widget displays the navigation map on country and administrative division landing pages in the place-names section of IRHB. It takes no parameters.