multiPoint abstract method

void multiPoint(
  1. Iterable<Position> points, {
  2. String? name,
  3. Box? bounds,
})

Writes a multi point geometry with an array of points (each with a position).

Use an optional name to specify a name for a geometry (when applicable).

An optional bounds can used set a minimum bounding box for a geometry written. A writer implementation may use it or ignore it.

An example to write a multi point geometry with 3 points:

  content.multiPoint(
      [
           [-1.1, -1.1].xy,
           Projected(x: 2.1, y: -2.5),
           Geographic(lon: 3.5, lat: -3.49),
      ],
  );

Implementation

void multiPoint(
  Iterable<Position> points, {
  String? name,
  Box? bounds,
});