writeFeatures(features, options) {
    return this.writeGeometry(
      new GeometryCollection(features.map((f) => f.getGeometry())),
      options,
    );
  }
Encode an array of features in this format.

@param {Array<import("../Feature.js").default>} features Features.
@param {import("./Feature.js").WriteOptions} [options] Write options.
@return {string|ArrayBuffer} Result.
@api
@override