Visualization LibraryStay organized with collectionsSave and categorize content based on your preferences.
AI-generated Key Takeaways
The Maps JavaScript API offers avisualizationlibrary with aHeatmapLayerclass for visualizing data intensity at geographical points.
You can find a practical example of using theHeatmapLayerin the earthquake mapping tutorial, which demonstrates plotting earthquake locations and intensity.
To utilize thevisualizationlibrary's functionalities, load it separately using thelibrariesparameter in the Maps JavaScript API bootstrap URL, specifyingvisualizationas the desired library.
Overview
The Maps JavaScript API uses libraries to provide supplemental
features. Thevisualizationlibrary includes theHeatmapLayerclass, which you can use to visualize data
intensity at geographical points.
For example, theearthquake mapping tutorialuses theHeatMapLayerclass to plot earthquake locations and intensity, and walks you step by step
through the code.
Use 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 thelibrariesparameter in
the Maps JavaScript API bootstrap URL:
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-11-10 UTC."],[],[]]