HeatMapLayer constructor

HeatMapLayer({
  1. Key? key,
  2. HeatMapOptions? heatMapOptions,
  3. required HeatMapDataSource heatMapDataSource,
  4. List<WeightedLatLng>? initialData,
  5. Stream<void>? reset,
  6. TileDisplay tileDisplay = const TileDisplay.fadeIn(),
  7. double maxZoom = 18.0,
})

Implementation

HeatMapLayer(
    {super.key,
    HeatMapOptions? heatMapOptions,
    required this.heatMapDataSource,
    List<WeightedLatLng>? initialData,
    this.reset,
    this.tileDisplay = const TileDisplay.fadeIn(),
    this.maxZoom = 18.0})
    : heatMapOptions = heatMapOptions ?? HeatMapOptions();