I changed it to the following and it made no difference:
function loadAPI( $src = 'jsapi', $ssl = 0) {
$document = JFactory::getDocument();
if ($ssl == 1) {
$scriptLink = '
www.google.com/'.$src;
} else {
$scriptLink = '
www.google.com/'.$src;
}
$document->addScript($scriptLink);
}
I was able to find a script that controls the SSL redirection and installed it on one site that was having this problem. Then removed the SSL from the map extension. This works, but I'd rather keep the whole thing under SSL