I created a hello world program to load a local kml file (borrowed from google\'s docs):
var ctaLayer = new google.maps.KmlLayer(\"http://localhost:8080/kml/
Unfortunately you cannot use "localhost". You have two choices:
Choice #1 might not be an option for those working on defense contracts and deal with sensitive information as the kml is sent to google in the background and rendered on the map.