Get a Maps Demo Key: Try out select Maps JavaScript API and Places UI Kit features at no cost with a Maps Demo Key—no billing information required.
google.maps
Stay organized with collections
Save and categorize content based on your preferences.
google.maps namespace
google.maps
namespace
Constants | |
|---|---|
version |
Google Maps JavaScript API version loaded by the browser. See https://developers.google.com/maps/documentation/javascript/versions |
Static Methods | |
|---|---|
importLibrary |
importLibrary(libraryName)Parameters:
Return Value:
Promise<CoreLibrary|MapsLibrary|Maps3DLibrary|PlacesLibrary|GeocodingLibrary|RoutesLibrary|MarkerLibrary|GeometryLibrary|ElevationLibrary|StreetViewLibrary|JourneySharingLibrary|DrawingLibrary|VisualizationLibrary>Loads a library of the Maps JavaScript API, resolving with the direct members of that API (without namespacing). (When loaded, libraries also add themselves to the global google.maps namespace, though using the global namespace is not generally recommended.) |