# Heatmaps

Mapster WP Maps Pro offers a lot of options when it comes to creating a heatmap and managing it directly inside Wordpress. This requires a Mapbox or Maplibre map. [See an example here](https://wpmaps.mapster.me/examples/mapster-wp-map/heatmap-example/).

{% embed url="<https://www.youtube.com/watch?v=aAY0rJD3-2c>" %}

<figure><img src="/files/P5DPDs4YqZOpueST0Q8u" alt=""><figcaption><p>Map with some simplified earthquake data.</p></figcaption></figure>

The functionality of the heatmap in Mapster WP Maps Pro is very similar to the [example shown here](https://maplibre.org/maplibre-gl-js-docs/example/heatmap-layer/) in the Maplibre documentation.

First, you need to create the Locations for your heatmap. This would be done most efficiently by [importing](broken://pages/MauPr4OctdMGXj1MWFKN) many features at once and assigning them a common category. Once they are imported, create a new Map and add those features to the map.

After you've added the features, go to Specialty Maps > Heatmap and enable the heatmap.

<figure><img src="/files/2XSqX9Yy9JcY63w2XhtS" alt=""><figcaption></figcaption></figure>

You'll need to choose the Location Type to turn into a heatmap with **Heatmap Layer**. All of the geographic features of that type will be substituted with a heatmap.

**Layer Visibility** allows you to cause the original features (markers, circles, or icons) to reappear once the user zooms in far enough. This can allow users to open popups or see the exact location of data once they are zoomed in to a certain level.

If your data has a specific property you'd like the heatmap to cluster with, enter the property name in **Weighted Property** field. This should correspond to metadata that you uploaded or created with your locations. Otherwise, your heatmap will cluster strictly by proximity. You can use ACF fields as well -- just make sure you give the full ACF field  name.&#x20;

**Intensity** works with the Weighted Property to increase the overall intensity of your heatmap. Play with this to get a broader range of colors.

For the **color range**, you can enter as many colors as you like, from low to high intensity. You may enter hex values, RGB, or RGBA. Be aware that every color should be on a separate line!

You can change the **Point Radius** to change the overlaps of the points when the heatmap is generated. A larger number will generally create more overlaps, causing a more intense but less geospecific heatmap.

Finally, modify the **opacity** to change the overall transparency of the heatmap layer on your map.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wpmaps-docs.mapster.me/maps/specialty-maps/heatmaps.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
