HeatmapLayer
<HeatmapLayer />
component is a visualization used to depict the intensity of data at geographical points. for more detail, see official documentation.
Basic Example
Props
Props | Type | Description |
---|---|---|
data | google.maps.MVCArray<google.maps.LatLng | google.maps.visualization.WeightedLocation> | Array<google.maps.LatLng | google.maps.visualization.WeightedLocation> | The data points to display. |
dissipating | boolean | Specifies whether heatmaps dissipate on zoom. When dissipating is false the radius of influence increases with zoom level to ensure that the color intensity is preserved at any given geographic location. Defaults to true . |
gradient | string[] | The color gradient of the heatmap, specified as an array of CSS color strings. All CSS3 colors are supported except for extended named colors. |
maxIntensity | number | The maximum intensity of the heatmap. |
opacity | number | The opacity of the heatmap, expressed as a number between 0 and 1. (default = 0.6 ) |
radius | number | The radius of influence for each data point, in pixels. |