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(libraryName)
Parameters:
-
libraryName:string
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.)
