project<R extends Point<num>> method

  1. @override
MultiPolygon<R> project<R extends Point<num>>(
  1. Projection projection, {
  2. required CreatePosition<R> to,
})
override

Returns a new geometry with all points projected using projection.

Target points of R are created using to as a point factory.

Implementation

@override
MultiPolygon<R> project<R extends Point>(
  Projection projection, {
  required CreatePosition<R> to,
}) =>
    MultiPolygon<R>(
      BoundedSeries.from(
        polygons.map((polygon) => polygon.project(projection, to: to)),
      ),
    );