function readFeaturesFromGeometryCollection(
  collection,
  arcs,
  scale,
  translate,
  property,
  name,
  opt_options
) {
  const geometries = collection['geometries'];
  const features = [];
  for (let i = 0, ii = geometries.length; i < ii; ++i) {
    features[i] = readFeatureFromGeometry(
      geometries[i],
      arcs,
      scale,
      translate,
      property,
      name,
      opt_options
    );
  }
  return features;
}
/**
 * Create features from a TopoJSON GeometryCollection object.
 *
 * @param {TopoJSONGeometryCollection} collection TopoJSON Geometry
 *     object.
 * @param {Array<Array<import("../coordinate.js").Coordinate>>} arcs Array of arcs.
 * @param {Array<number>} scale Scale for each dimension.
 * @param {Array<number>} translate Translation for each dimension.
 * @param {string|undefined} property Property to set the `GeometryCollection`'s parent
 *     object to.
 * @param {string} name Name of the `Topology`'s child object.
 * @param {import("./Feature.js").ReadOptions} [opt_options] Read options.
 * @return {Array<Feature>} Array of features.
 */
Create features from a TopoJSON GeometryCollection object.
Create features from a TopoJSON GeometryCollection object .
function readFeaturesFromGeometryCollection(
  collection,
  arcs,
  scale,
  translate,
  property,
  name,
  opt_options
) {
  const geometries = collection['geometries'];
  const features = [];
  for (let i = 0, ii = geometries.length; i < ii; ++i) {
    features[i] = readFeatureFromGeometry(
      geometries[i],
      arcs,
      scale,
      translate,
      property,
      name,
      opt_options
    );
  }
  return features;
}
function readFeaturesFromGeometryCollection ( collection , arcs , scale , translate , property , name , opt_options ) { const geometries = collection [ 'geometries' ] ; const features = [ ] ; for ( let i = 0 , ii = geometries . length ; i < ii ; ++ i ) { features [ i ] = readFeatureFromGeometry ( geometries [ i ] , arcs , scale , translate , property , name , opt_options ) ; } return features ; }
Create features from a TopoJSON GeometryCollection object.
Create features from a TopoJSON GeometryCollection object .