visualization library includes the
HeatmapLayer class, which you can use to visualize data
intensity at geographical points.
For example, the earthquake mapping tutorial uses the
class to plot earthquake locations and intensity, and walks you step by step
through the code.
Using the library
The visualization library is a self-contained library, separate from the main
this library, you must first load it using the
libraries parameter in the
<script defer src="https://maps.googleapis.com/maps/api/js?libraries=visualization &key=YOUR_API_KEY&callback=initMap"> </script>