GeoView constructor

const GeoView({
  1. Key? key,
  2. required Projection projection,
  3. required dynamic geoJson,
  4. Color? fillColor,
  5. Color? strokeColor,
  6. double strokeWidth = 1.0,
  7. void onFeatureTap(
    1. dynamic feature,
    2. Point position
    )?,
  8. bool antiAlias = true,
})

Creates a GeoView widget.

Implementation

const GeoView({
  super.key,
  required this.projection,
  required this.geoJson,
  this.fillColor,
  this.strokeColor,
  this.strokeWidth = 1.0,
  this.onFeatureTap,
  this.antiAlias = true,
});