writeFeature(feature, options) {
    return this.writeGeometry(feature.getGeometry(), options);
  }
Encode a feature in this format.

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