This allows uploading of local kml/kmz file with FileReader
function uploadKMZFile(urls) {
var reader = new FileReader();
reader.onload = function(event) {
var result = reader.result;
var kmz = L.kmzLayer().addTo(map);
kmz.parse(result, { name: urls[0].name, icons: {} });
};
reader.readAsArrayBuffer(urls[0]);
}
This allows uploading of local kml/kmz file with FileReader