project<R extends Point<num> > method
MultiPolygon<R>
project<R extends Point<num> >(
- Projection projection, {
- 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)),
),
);