GeoJsonFactory<PointType extends Point<num> > constructor
const
GeoJsonFactory<PointType extends Point<num> > ({
- required PointFactory<
PointType> pointFactory, - required CreateBounds<
PointType> boundsFactory, - CreateFeature? featureFactory,
Create a factory with pointFactory and boundsFactory.
An optional featureFactory
can be given also.
Implementation
const GeoJsonFactory({
required super.pointFactory,
required super.boundsFactory,
CreateFeature? featureFactory,
}) : super(
featureFactory: featureFactory ?? _defaultFeatureFactory,
);