code: function (renderable) {
                  if (!(renderable instanceof WorldWind.SurfacePolyline)) {
                      throw new ArgumentError(
                          Logger.logMessage(Logger.LEVEL_SEVERE, "WktExporter", "exportSurfacePolyline",
                              "invalidTypeOfRenderable"));
                  }
  
                  var sb = WktType.SupportedGeometries.LINE_STRING + '(';
                  for (var i = 0; i < renderable.boundaries.length; i++) {
                      sb = sb + renderable.boundaries[i].longitude + ' ' +
                          renderable.boundaries[i].latitude;
                      sb = sb + ', ';
                  }
                  sb = sb.substring(0, sb.length - 2);
                  sb = sb + ')';
                  return sb;
              }
docs: Exports a [SurfacePolyline]{@link SurfacePolyline} in WKT format of type LineString.
  @param {SurfacePolyline} renderable The SurfacePolyline object.
  @throws {ArgumentError} If the specified argument is null or undefined.
  @returns {String} WKT format.