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.)
[[["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-08-20 UTC."],[],[],null,["The documentation for has moved to a different page.\n\nThe documentation for the linked item could not be found. \n\n[google.maps](#google.maps)\nnamespace\n\n\ngoogle.maps\nnamespace\n\n| Constants ||\n|---------------------------------|--------------------------------------------------------------------------------------------------------------------------------------|\n| [version](#google.maps.version) | Google Maps JavaScript API version loaded by the browser. See \u003chttps://developers.google.com/maps/documentation/javascript/versions\u003e |\n\n| Static Methods ||\n|---------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [importLibrary](#google.maps.importLibrary) | `importLibrary(libraryName)` **Parameters:** - `libraryName`: `string` **Return Value:** [Promise](https://developer.mozilla.org/docs/Web/JavaScript/Reference/Global_Objects/Promise)`\u003c`[CoreLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#CoreLibrary)`|`[MapsLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#MapsLibrary)`|`[Maps3DLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#Maps3DLibrary)`|`[PlacesLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#PlacesLibrary)`|`[GeocodingLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#GeocodingLibrary)`|`[RoutesLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#RoutesLibrary)`|`[MarkerLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#MarkerLibrary)`|`[GeometryLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#GeometryLibrary)`|`[ElevationLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#ElevationLibrary)`|`[StreetViewLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#StreetViewLibrary)`|`[JourneySharingLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#JourneySharingLibrary)`|`[DrawingLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#DrawingLibrary)`|`[VisualizationLibrary](/maps/documentation/javascript/reference/3.60/library-interfaces#VisualizationLibrary)`\u003e` Loads a [library](https://developers.google.com/maps/documentation/javascript/libraries) 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.) |"]]