getData method
Filters in memory data returning the data ungridded
Implementation
@override
List<WeightedLatLng> getData(LatLngBounds bounds, double z) {
if (bounds.isOverlapping(bounds)) {
if (data.isEmpty) {
return [];
}
return data.where((point) => bounds.contains(point.latLng)).toList();
}
return [];
}