function encodeMultiPointGeometry(geom) {
  const array = [];
  const components = geom.getPoints();
  for (let i = 0, ii = components.length; i < ii; ++i) {
    array.push('(' + encodePointGeometry(components[i]) + ')');
  }
  return array.join(',');
}
@param {MultiPoint} geom MultiPoint geometry.
@return {string} Coordinates part of MultiPoint as WKT.