using two API's for .net & .com domains
I am trying to use two API for both the .net and .com version of a domain. I don't see any way within Pro Maps for Google to do this.
Google's FAQ says it can be done by inserting:
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 I haven't had any luck with that.
Any suggestions would be appreciated. Thanks.