google.maps namespace
google.maps
namespace
Constants | |
---|---|
version |
Google Maps JavaScript API version loaded by the browser. Seehttps://developers.google /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 alibraryof 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.) |