<iframe src="https://developers.devsite.google/frame/maps/documentation/javascript/reference/visualization_887450e9eb181e93b6fae9fe4d356a699fe105ee2b9871682a29c6b7b0bddeda.frame" class="framebox inherit-locale redirect-iframe" allow="clipboard-write https://developers.devsite.google" allowfullscreen is-upgraded></iframe>

## [HeatmapLayer](https://developers.google.com/maps/documentation/javascript/reference/visualization.md.txt#HeatmapLayer)
class


class
`google.maps.visualization.HeatmapLayer`

library `"visualization"`

> [!WARNING]
> **[Deprecated:](https://developers.google.com/maps/deprecations.md.txt)** The Heatmap Layer functionality in the Maps JavaScript API is no longer available in the Maps JavaScript API as of version 3.65. For more info, see <https://developers.google.com/maps/deprecations>.

A layer that provides a client-side rendered heatmap, depicting the intensity of data at geographical points.

```javascript
const {HeatmapLayer} = await google.maps.importLibrary("visualization");
```

| ### Constructor ||
|---|---|
| `HeatmapLayer` | `HeatmapLayer()` **Parameters:** None Creates a new instance of `HeatmapLayer`. the layer. |