text: import WorldWind from 'webworldwind-esa';
  import KmlGroundOverlay from '../src/formats/kml/features/KmlGroundOverlay';
  import LayerManager from './LayerManager';
  
  WorldWind.configuration.baseUrl = window.location.pathname.replace('KmlGroundOverlayExample.html', '');
  const wwd = new WorldWind.WorldWindow("canvasOne");
  
  wwd.addLayer(new WorldWind.BingAerialLayer(null));
  
  WorldWind.KmlElements.addKey('GroundOverlay', KmlGroundOverlay);
  
  var kmlFilePromise = new WorldWind.KmlFile('data/map-overlay.kml');
  kmlFilePromise.then(function (kmlFile) {
      var renderableLayer = new WorldWind.RenderableLayer("Product Shape");
      renderableLayer.addRenderable(kmlFile);
  
      wwd.addLayer(renderableLayer);
      wwd.redraw();
  
      wwd.goTo(new WorldWind.Position(-1.2,-69.5));
  });
  
  new LayerManager(wwd);