code: function (renderable) {
                  if (!(renderable instanceof WorldWind.Path)) {
                      throw new ArgumentError(
                          Logger.logMessage(Logger.LEVEL_SEVERE, "GeoJSONExporter", "exportPath",
                              "invalidTypeOfRenderable"));
                  }
  
                  var sb = '{';
                  sb = sb + '"' + GeoJSONConstants.FIELD_TYPE + '":"' + GeoJSONConstants.TYPE_LINE_STRING + '",';
                  sb = sb + '"' + GeoJSONConstants.FIELD_COORDINATES + '":[';
                  for (var i = 0; i < renderable.positions.length; i++) {
                      sb = sb + '[' + renderable.positions[i].longitude + ',' +
                          renderable.positions[i].latitude + ',' +
                          renderable.positions[i].altitude + ']';
                      if (i !== renderable.positions.length - 1) {
                          sb = sb + ',';
                      }
                  }
                  sb = sb + ']';
                  sb = sb + '}';
                  return sb;
              }
docs: Exports a [Path]{@link Path} in GeoJSON format of type LineString.
  @param {Path} renderable The Path object.
  @throws {ArgumentError} If the specified argument is null or undefined.
  @returns {String} GeoJSON format.