setData

open fun setData(data: Collection<LatLng>)

Changes the dataset the heatmap is portraying. Unweighted. User should clear overlay's tile cache (using clearTileCache()) after calling this.

Parameters

data

Data set of points to use in the heatmap, as LatLngs.