HeatmapTileProvider

class HeatmapTileProvider : TileProvider

Tile provider that creates heatmap tiles.

Types

Link copied to clipboard
class Builder

Builder class for the HeatmapTileProvider.

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
open override fun getTile(x: Int, y: Int, zoom: Int): Tile
Link copied to clipboard
fun setData(latLngs: Collection<LatLng>)
Link copied to clipboard
fun setGradient(gradient: Gradient)
Link copied to clipboard
fun setMaxIntensity(intensity: Double)
Link copied to clipboard
fun setOpacity(opacity: Double)
Link copied to clipboard
fun setRadius(radius: Int)
Link copied to clipboard
Link copied to clipboard

Refreshes the heatmap with a new collection of weighted data points.

Link copied to clipboard
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.