geoJsonProjected<T extends ProjectedPoint<num> > function
- @Deprecated('Use GeoJSON().parserProjected() instead.')
- PointFactory<
T> point, { - CreateBounds<
T> ? bounds, - CreateFeature? feature,
A GeoJSON factory using point
factory to create cartesian points of T
.
Use bounds
to specify a factory for Bounds
objects.
Use feature
to define a factory for Feature
objects.
Implementation
@Deprecated('Use GeoJSON().parserProjected() instead.')
GeoJsonFactory<T> geoJsonProjected<T extends ProjectedPoint>(
PointFactory<T> point, {
CreateBounds<T>? bounds,
CreateFeature? feature,
}) =>
GeoJsonFactory<T>(
pointFactory: point,
boundsFactory: bounds ?? Bounds.fromCoords,
featureFactory: feature,
);