Widget:PlaceNamesNavigationMapEnglish: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 264: Line 264:
.translate([202.798519176517,306.70813464248357]);
.translate([202.798519176517,306.70813464248357]);
var path = d3.geo.path().projection(projection);
var path = d3.geo.path().projection(projection);
var svg = d3.select("div#" + m.curMap).append("svg").attr("width", width)
var svg = d3.select("div#" + m.curMap).append("svg").attr("width", width);
.attr("height", height);
//.attr("height", height);
if (mp.childNodes.length > 1) {
if (mp.childNodes.length > 1) {
mp.firstChild.nextSibling.style.display = "none";
mp.firstChild.nextSibling.style.display = "none";

Revision as of 19:54, 25 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.