The default weather API for Google Maps API v3 is nice, but I need an actual radar loop. I found an example of layering a KML file onto an existing map:
<script language=JavaScript type=text/JavaScript>
function loadGoogleMap_FacilityPage()
{
var myLatlng = new google.maps.LatLng(34.921467, -84.107919);
var mapOptions = {
zoom: 8,
center: myLatlng,
mapTypeId: google.maps.MapTypeId.ROADMAP,
}
var map = new google.maps.Map(document.getElementById("google_map"), mapOptions);
var ctaLayer = new google.maps.KmlLayer('http://mysite.com/southeastradar.kml');
ctaLayer.setMap(map);
}
</script>
But the radar is not being layered. The referenced kml file is located on valid server, and was retrieved from National Weather Service
Help with getting the KmlLayer working is appreciated.