writeFeature(feature, options) {
    const node = this.writeFeatureNode(feature, options);
    return this.xmlSerializer_.serializeToString(node);
  }
Encode a feature as string.

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