project<R extends Point<num> > method
Feature<Geometry>
project<R extends Point<num> >(
- Projection projection, {
- required CreatePosition<
R> to,
override
Returns a new feature with geometry projected using projection
.
Target points of R
are created using to
as a point factory.
Transforms only geometry of this feature. Other members, id and properties, are set without modifications to a new feature object.
Implementation
@override
Feature project<R extends Point>(
Projection projection, {
required CreatePosition<R> to,
}) =>
Feature(
id: _id,
properties: _properties,
geometry: _geometry?.project<R>(projection, to: to),
);