Add Kml file in google map with Local path and server path javascript : Below  java script cod.  server side path apply. plz local path throw open kml file in goolge map.


  


function initMap() {
        var map = new google.maps.Map(document.getElementById('map'), {
          zoom: 11,
          center: {lat: 23.026261,  lng: 72.566872}
        });

		
        var ctaLayer = new google.maps.KmlLayer({
         url: 'http://exaple.com//aa.kml',
		  map: map
        });
      }


can i add local path in java script.
can i add dynamic change kml file in java script.

