heatmapTileProviderWithWeightedData

inline fun heatmapTileProviderWithWeightedData(latLngs: Collection<WeightedLatLng>, radius: Int = HeatmapTileProvider.DEFAULT_RADIUS, gradient: Gradient = HeatmapTileProvider.DEFAULT_GRADIENT, opacity: Double = HeatmapTileProvider.DEFAULT_OPACITY, maxIntensity: Double = 0.0): HeatmapTileProvider

Constructs a HeatmapTileProvider.

Throws

when opacity is not within the range 0, 1 or if latLngs is empty