HeatmapTileProvider

open class HeatmapTileProvider : TileProvider

Tile provider that creates heatmap tiles.

Types

Link copied to clipboard
open class Builder
Builder class for the HeatmapTileProvider.

Properties

Link copied to clipboard
Default gradient for heatmap.
Link copied to clipboard
Default opacity of heatmap overlay
Link copied to clipboard
Default radius for convolution
Link copied to clipboard
val NO_TILE: Tile

Functions

Link copied to clipboard
open fun getTile(x: Int, y: Int, zoom: Int): Tile
Creates tile.
Link copied to clipboard
open fun setData(data: Collection<LatLng>)
Changes the dataset the heatmap is portraying.
Link copied to clipboard
open fun setGradient(gradient: Gradient)
Setter for gradient/color map.
Link copied to clipboard
open fun setMaxIntensity(intensity: Double)
Setter for max intensity User should clear overlay's tile cache (using clearTileCache()) after calling this.
Link copied to clipboard
open fun setOpacity(opacity: Double)
Setter for opacity User should clear overlay's tile cache (using clearTileCache()) after calling this.
Link copied to clipboard
open fun setRadius(radius: Int)
Setter for radius.
Link copied to clipboard
Changes the dataset the heatmap is portraying.