code: function onExportWkt() {
  
              // This is the actual export action.
              var exportedWkt = WorldWind.WktExporter.exportRenderables(shapesLayer.renderables);
  
              document.getElementById("wktTxtArea").value = exportedWkt;
          }
docs: Export the surface shapes on click