Widget:PlaceNamesNavigationMapEnglish: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 121: | Line 121: | ||
var counties = res.query.results; | var counties = res.query.results; | ||
var numCounties = 0; | var numCounties = 0; | ||
var engArea = 0, engPop = 0; | |||
for (var key in counties) { | for (var key in counties) { | ||
if (key.indexOf("Riding") === -1 && cty.indexOf("London") === -1) { | |||
var cty = key.replace(" place-names", ""); | var cty = key.replace(" place-names", ""); | ||
numCounties++; | numCounties++; | ||
var a = counties[key].printouts.Area[0]; | var a = counties[key].printouts.Area[0]; |
Revision as of 16:50, 20 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.