GeoJsonFactory<PointType extends Point<num>> constructor

const GeoJsonFactory<PointType extends Point<num>>({
  1. required PointFactory<PointType> pointFactory,
  2. required CreateBounds<PointType> boundsFactory,
  3. 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,
      );