Widget:PlaceNamesNavigationMapEnglish: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 240: | Line 240: | ||
// get container + svg aspect ratio | // get container + svg aspect ratio | ||
var container = d3.select(svg.node().parentNode), | var container = d3.select(svg.node().parentNode), | ||
w = parseInt(svg.style("width")), | |||
h = parseInt(svg.style("height")), | |||
aspect = w / h; | aspect = w / h; | ||
Revision as of 19:17, 22 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.