google.maps.visualization.HeatmapLayerOptions
interface
This object defines the properties that can be set on a HeatmapLayer object.
visualization
| Properties | |
|---|---|
data |
Type:
MVCArray<LatLng|WeightedLocation>|Array<LatLng|WeightedLocation> optionalThe data points to display. Required. |
dissipating |
Type:
boolean optionalSpecifies whether heatmaps dissipate on zoom. By default, the radius of influence of a data point is specified by the radius option only. When dissipating is disabled, the radius option is interpreted as a radius at zoom level 0. |
gradient |
Type:
Array<string> optionalThe color gradient of the heatmap, specified as an array of CSS color strings. All CSS3 colors are supported except for extended named colors. |
map |
Type:
Map optionalThe map on which to display the layer. |
maxIntensity |
Type:
number optionalThe maximum intensity of the heatmap. By default, heatmap colors are dynamically scaled according to the greatest concentration of points at any particular pixel on the map. This property allows you to specify a fixed maximum. |
opacity |
Type:
number optionalThe opacity of the heatmap, expressed as a number between 0 and 1. Defaults to 0.6. |
radius |
Type:
number optionalThe radius of influence for each data point, in pixels. |