More Google Maps on Multiple Domains
I have 2 pages on a web site using Google maps that are being accessed through 2 different domain names. I have read the other solutions to get this to work using PHP, but these sites are on a Windows-based file server.
The pages are:
contact-us.html
contact-us.html
specialized-programs.html
specialized-programs.html
Google suggests the following code as a solution:
document.write([
'<script src="http://maps.google.com/maps?file=api&v=2&key=', {
'domain1.com': 'apikey1',
'domain2.com': 'apikey2',
'domain3.com': 'apikey3',
'domainN.com': 'apikeyN'
}[window.location.host],
'" type="text/javascript"><\/script>'
].join(''));
but the question is, how do I implement this using the WebAssist generated Google maps code?
I have a test page at test.html but it does not work for either domain name
Thanks in advance for the help.