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