geoJsonGeographic<T extends GeoPoint> function

  1. @Deprecated('Use GeoJSON().parserGeographic() instead.')
GeoJsonFactory<T> geoJsonGeographic<T extends GeoPoint>(
  1. PointFactory<T> point, {
  2. CreateBounds<T>? bounds,
  3. CreateFeature? feature,
})

A GeoJSON factory using point factory to create geographic 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().parserGeographic() instead.')
GeoJsonFactory<T> geoJsonGeographic<T extends GeoPoint>(
  PointFactory<T> point, {
  CreateBounds<T>? bounds,
  CreateFeature? feature,
}) =>
    GeoJsonFactory<T>(
      pointFactory: point,
      boundsFactory: bounds ?? GeoBounds.fromCoords,
      featureFactory: feature,
    );