Widget:FestivalsNavigationMapScottish: Difference between revisions
From International Robin Hood Bibliography
mNo edit summary |
mNo edit summary |
||
Line 15: | Line 15: | ||
} | } | ||
function initNavMap () { | |||
var navigationMapOptions = { | var navigationMapOptions = { | ||
center: new google.maps.LatLng(56.18376500831012,-4.155921936035156), | center: new google.maps.LatLng(56.18376500831012,-4.155921936035156), | ||
Line 75: | Line 75: | ||
} | } | ||
function loadGoogleMaps () { | |||
var script = document.createElement('script'); | var script = document.createElement('script'); | ||
script.onload = function () { | script.onload = function () { | ||
Line 84: | Line 84: | ||
document.head.appendChild(script); | document.head.appendChild(script); | ||
} | } | ||
if (typeof google !== 'undefined') { | if (typeof google !== 'undefined') { | ||
initNavMap(); | initNavMap(); |
Revision as of 19:39, 21 May 2019
This widget displays the navigation map on Scottish country and administrative division landing pages in the festivals section of IRHB. It takes no parameters.