<iframe src="https://developers.devsite.google/frame/maps/documentation/javascript/reference/3.65/top-level_61e302609bd44e0f1c092789880a2fc5e039764ba8a12c31521935c0271e5b8f.frame" class="framebox inherit-locale redirect-iframe" allow="clipboard-write https://developers.devsite.google" allowfullscreen is-upgraded></iframe>

## [google.maps](https://developers.google.com/maps/documentation/javascript/reference/3.65/top-level.md.txt#google.maps)
namespace


namespace
`google.maps`

| ### 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:** - `libraryName: string` **Return Value:** `Promise<CoreLibrary|MapsLibrary|Maps3DLibrary|PlacesLibrary|GeocodingLibrary|RoutesLibrary|MarkerLibrary|GeometryLibrary|ElevationLibrary|StreetViewLibrary|JourneySharingLibrary|DrawingLibrary|VisualizationLibrary>` Loads a [library](https://developers.google.com/maps/documentation/javascript/libraries.md.txt) 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.) |