Widget:PlaceNamesNavigationMapEnglish: Difference between revisions

From International Robin Hood Bibliography
mNo edit summary
mNo edit summary
Line 1: Line 1:
<noinclude><div class="no-img">This widget displays the navigation map on country and administrative division landing pages in the place-names section of IRHB. It takes no parameters.</div></noinclude><includeonly><div id="navMapNav"></div><script>
<noinclude><div class="no-img">This widget displays the navigation map on country and administrative division landing pages in the place-names section of IRHB. It takes no parameters.</div></noinclude><includeonly><div id="navMapNav"></div><script>
//Utility
//Utility
/*
1) Go to maximized map (and return)
2) Map tiles sometimes no longer shown after navigating away from tab and back again
SOLUTION: resixe 1px and back again to get framework to recenter map
3) GENERAL PROBLEM ON SITE: NLS tiles displayed before OpenStreetMaps
?SOLUTION: setting layer visibility:hidden in css
4) "Place-names choropleths" page must show new maps and get table data from SMW
Utility.
*/
( function() {
( function() {
Line 409: Line 418:
get("ctyMapLegend").style.display = "block";
get("ctyMapLegend").style.display = "block";
get("map_leaflet_1").style.display = "block";
get("map_leaflet_1").style.display = "block";
irhb.maps.resizeMaps();
w.maps.resizeMaps();
//keepLeafletMapFocused();
//keepLeafletMapFocused();
} else if (t === "nmnNav") {
} else if (t === "nmnNav") {

Revision as of 13:17, 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.