This code started as a copy/paste from the three.js example https://threejs.org/examples/webgl_loader_kmz.html.
It is intended as an experiment with some of the functionality three.js offers.