function writeMultiPointGeometry(multiPoint, options) {
  const hasZM = getHasZM(multiPoint);
  return {
    hasZ: hasZM.hasZ,
    hasM: hasZM.hasM,
    points: /** @type {Array<EsriJSONPosition>} */ (
      multiPoint.getCoordinates()
    ),
  };
}
@param {import("../geom/MultiPoint.js").default} multiPoint Geometry.
@param {import("./Feature.js").WriteOptions} [options] Write options.
@return {EsriJSONMultipoint} EsriJSON geometry.