# Different "Heat source" in Heatmap

**URL:** <https://forums.losant.com/t/different-heat-source-in-heatmap/5134>\
**Category:** Feature Request\
**Created:** [July 2, 2023, 8:57am UTC](https://forums.losant.com/t/different-heat-source-in-heatmap/5134 "2023-07-02T08:57:10Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![IgorP](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@IgorP](https://forums.losant.com/u/IgorP)\
**Post date:** [July 2, 2023, 8:57am UTC](https://forums.losant.com/t/different-heat-source-in-heatmap/5134/1 "2023-07-02T08:57:10Z")

</div>

Hello.

I have been playing with the heatmap this weekend, and the way Heatmap works right now, it shows more red the more time you spend at a location - owing to the increased number of fixes for that map area.

I would suggest to color the heat dots with a hird parameter (RSSI - received signal strength or maybe sensor temperature). This would ie a 3rd parameter to location, which would be a useful feature.

What do you think?

---

<div class="post-metadata">

**Author:** ![Sebastian\_Turner](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/sebastian_turner/32/4024_2.png) [@Sebastian\_Turner](https://forums.losant.com/u/Sebastian_Turner)\
**Post date:** [July 3, 2023, 2:53pm UTC](https://forums.losant.com/t/different-heat-source-in-heatmap/5134/2 "2023-07-03T14:53:04Z")

</div>

Hi @IgorP ,

Great suggestion! I’ll submit a feature request internally and see about implementing heatmap colors based on attribute values. If I have an updates to share, I’ll post them here.

---

<div class="post-metadata">

**Author:** ![Dylan\_Schuster](https://sea1.discourse-cdn.com/flex015/user_avatar/forums.losant.com/dylan_schuster/32/2850_2.png) [@Dylan\_Schuster](https://forums.losant.com/u/Dylan_Schuster)\
**Post date:** [July 3, 2023, 4:50pm UTC](https://forums.losant.com/t/different-heat-source-in-heatmap/5134/3 "2023-07-03T16:50:18Z")

</div>

We’ve that feature request filed; thanks for the suggestion.

As a workaround, if the goal is to visualize signal strength across a fleet of assets, you could do something like the following …

- Use a [GPS History Block](https://docs.losant.com/dashboards/blocks/gps-history/) instead of a GPS Heatmap Block.
- Configure the placement of pins as required for your application (from device tags, from a GPS attribute, last position or position over time, etc.)
- In the [“Data Attributes” section](https://docs.losant.com/dashboards/blocks/gps-history/#additional-attributes), configure the block to also return the signal strength attribute.
- In the [“Point Display Configuration” section](https://docs.losant.com/dashboards/blocks/gps-history/#point-display-configuration), choose the [“Advanced” pin style](https://docs.losant.com/dashboards/blocks/gps-history/#advanced-pin-style-configuration) option.

In the “Icon Template”, you can write a block of Handlebars statements that will render different pins / icons based on the signal strength. For example, assuming an attribute called “signalStrength” whose value ranges from 0 (no signal) to 100 (great signal), you could do something like this, using the [{{#gte}} block helper](https://docs.losant.com/workflows/accessing-payload-data/#gte-p1-p2) …

```auto
{{#gte data.signalStrength 80}}
 {{colorMarker '#009900'}} {{!-- green color marker --}}
{{else gte data.signalStrength 40}}
 {{colorMarker '#ff9900'}} {{!-- orange color marker --}}
{{else}}
  {{colorMarker '#990000'}} {{!-- red color marker }}
{{/gte}}

```

---

<div class="post-metadata">

**Author:** ![IgorP](https://avatars.discourse-cdn.com/v4/letter/i/e19b73/32.png) [@IgorP](https://forums.losant.com/u/IgorP)\
**Post date:** [July 3, 2023, 5:00pm UTC](https://forums.losant.com/t/different-heat-source-in-heatmap/5134/4 "2023-07-03T17:00:48Z")

</div>

Hello,

thank you both for the feedback, much appreciated.

I might just try your suggestion Dylan, in the end mapping the network, figuring moisture/temperature levels while driving, even counting which gateway gives the most coverage would be interesting.
