New pricing changes went into effect on July 16, 2018. For more information, check out the Guide for Existing Users.

Visualization Library

Overview

The Maps JavaScript API uses libraries to provide supplemental features. The 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 HeatMapLayer 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 Maps JavaScript API code. To use the functionality contained within this library, you must first load it using the libraries parameter in the Maps JavaScript API bootstrap URL:

<script src="https://maps.googleapis.com/maps/api/js?libraries=visualization"></script>

傳送您對下列選項的寶貴意見...

這個網頁
Maps JavaScript API
需要協助嗎?請前往我們的支援網頁