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