GeoJsonLayer.file constructor
GeoJsonLayer.file(
- File file, {
- Key? key,
- OnPointCallback? onPoint,
- OnPolylineCallback? onPolyline,
- OnPolygonCallback? onPolygon,
- FeatureFilterCallback? filter,
- GeoJsonStyleDefaults? styleDefaults,
- LayerHitNotifier<
Object> ? hitNotifier, - double polylineHitbox = 10,
Implementation
GeoJsonLayer.file(
File file, {
super.key,
this.onPoint,
this.onPolyline,
this.onPolygon,
this.filter,
this.styleDefaults,
this.hitNotifier,
this.polylineHitbox = 10,
}) : data = FileGeoJson(file);