updateLatLngs

fun updateLatLngs(latLngs: Collection<LatLng>)

Refreshes the heatmap with a new collection of unweighted data points. Each point is assigned a default weight of 1.0.

This is a convenience method that wraps the data in WeightedLatLng objects before calling updateData.

Parameters

latLngs

The new collection of LatLng points.