Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google maps react have HeatMap?

I need to make a heat map using react and google maps.but I am not finding in the maps react documentation. Do not heat google map for react? Could someone help me ?. Thank you.

like image 323
Elaine Sangali Avatar asked Nov 30 '25 07:11

Elaine Sangali


1 Answers

This part of the docs explains how to add a heatmap layer in javascript (which should be relevent for use within react)

https://developers.google.com/maps/documentation/javascript/examples/layer-heatmap

new google.maps.visualization.HeatmapLayer({
          data: points, //the 'heat' of the heatmap
          map: map //the map instance
        });
like image 172
Geraint Avatar answered Dec 02 '25 22:12

Geraint



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!