of the form
use in the Maps API. Some Maps API features are also available in
self-contained libraries which are not loaded unless you
specifically request them. Breaking up supplemental components into
libraries allows the main API to load (and parse) quickly; you only incur
the additional overhead of loading and parsing libraries if you need
You specify additional libraries to load within the bootstrap request by
libraries parameter, passing that parameter the
name of the library or libraries. Multiple libraries may be specified as a
comma-separated list. Once loaded, libraries are accessed via the
The following libraries are currently available:
adsenseallows your Maps API application to include context-sensitive text ads, allowing you to share in ad revenue for ads shown to your users. Consult the AdSense library documentation for more information.
drawingprovides a graphical interface for users to draw polygons, rectangles, polylines, circles, and markers on the map. Consult the Drawing library documentation for more information.
geometryincludes utility functions for calculating scalar geometric values (such as distance and area) on the the surface of the earth. Consult the Geometry library documentation for more information.
placesenables your application to search for Places such as establishments, geographic locations, or prominent points of interest, within a defined area. Please read the Places library documentation for more information.
visualizationprovides visual representations of data, including heatmaps and Google Maps Engine data. Please read the Visualization library documentation for more information.
The following libraries remain available, but have been deprecated:
panoramiocontains functionality for adding Panoramio photo layers to your Maps API application. Consult the Panoramio Layers documentation for more information. Deprecated as of June 4, 2014.
weathercontains functionality for adding weather forecasts and cloud imagery to your map. Consult the Weather Layer documentation for more information. Deprecated as of June 4, 2014.
We will add more libraries in the future as we release additional opt-in features.
The following bootstrap request illustrates how to request the
To request multiple libraries, separate them with a comma: