Widget:PlaceNamesNavigationMapEnglish: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 40: | Line 40: | ||
c.choropleth = function() { | c.choropleth = function() { | ||
var | var svg = document.getElementById("choroMap").firstChild; | ||
var svgDoc = svg.contentDocument; | |||
var paths = svgDoc.getElementsByTagName("PATH"); | |||
console.log(paths.length); | console.log(paths.length); | ||
}; | }; |
Revision as of 13:41, 17 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.