From 198f41c22bedf589d1fab83cc6aa82250121cc03 Mon Sep 17 00:00:00 2001
From: googlemaps-bot
Date: Fri, 16 Feb 2024 18:59:04 +0000
Subject: [PATCH] fix: revert changing to package type "module" (#826)
in #812 the package type was accidentally changed to "module" which leads to all sorts of problems. This is reverted and config-files that are already in esm-format are renamed to .mjs to continue working. fce81109d3efd59e6b7fad434dc40a02e5d06ed8
---
classes/Loader.html | 36 +++++++++++++++++------------------
enums/LoaderStatus.html | 4 ++--
interfaces/LoaderOptions.html | 28 +++++++++++++--------------
types/Libraries.html | 2 +-
types/Library.html | 2 +-
variables/DEFAULT_ID.html | 2 +-
6 files changed, 37 insertions(+), 37 deletions(-)
diff --git a/classes/Loader.html b/classes/Loader.html
index e304f24f..39001a36 100644
--- a/classes/Loader.html
+++ b/classes/Loader.html
@@ -5,7 +5,7 @@
document head and wrapping the callback function so as to return a promise.
const loader = new Loader ({ apiKey: "" , version: "weekly" , libraries: [ "places" ] }); loader . load (). then (( google ) => { const map = new google . maps . Map (...) })
Copy
- Index IndexProperties api Key
auth Referrer Policy
channel
@@ -30,22 +30,22 @@
JavaScript API server.
const loader = Loader ({ apiKey , version: 'weekly' , libraries: [ 'places' ]});
Copy
-
Properties Readonly
api Key api Key : string
Readonly
auth Referrer Policy auth Referrer Policy : "origin"
Readonly
channel channel : string
Readonly
client client : string
Readonly
language language : string
Readonly
map Ids map Ids : string []
Readonly
nonce nonce : string
Readonly
region region : string
Readonly
retries retries : number
Readonly
version version : string
Methods delete Script delete Script ( ) : void Returns void import Library import Library ( name ) : Promise < CoreLibrary > Returns Promise < CoreLibrary > import Library ( name ) : Promise < MapsLibrary > Returns Promise < MapsLibrary > import Library ( name ) : Promise < PlacesLibrary > Returns Promise < PlacesLibrary > import Library ( name ) : Promise < GeocodingLibrary > Returns Promise < GeocodingLibrary > import Library ( name ) : Promise < RoutesLibrary > Returns Promise < RoutesLibrary > import Library ( name ) : Promise < MarkerLibrary > Returns Promise < MarkerLibrary > import Library ( name ) : Promise < GeometryLibrary > Returns Promise < GeometryLibrary > import Library ( name ) : Promise < ElevationLibrary > Returns Promise < ElevationLibrary > import Library ( name ) : Promise < StreetViewLibrary > Returns Promise < StreetViewLibrary > import Library ( name ) : Promise < JourneySharingLibrary > Returns Promise < JourneySharingLibrary > import Library ( name ) : Promise < DrawingLibrary > Returns Promise < DrawingLibrary > import Library ( name ) : Promise < VisualizationLibrary > Returns Promise < VisualizationLibrary > import Library ( name ) : Promise < unknown > Returns Promise < unknown > load load ( ) : Promise < typeof google > Properties Readonly
api Key api Key : string
Readonly
auth Referrer Policy auth Referrer Policy : "origin"
Readonly
channel channel : string
Readonly
client client : string
Readonly
language language : string
Readonly
map Ids map Ids : string []
Readonly
nonce nonce : string
Readonly
region region : string
Readonly
retries retries : number
Readonly
version version : string
Methods delete Script delete Script ( ) : void Returns void import Library import Library ( name ) : Promise < CoreLibrary > Returns Promise < CoreLibrary > import Library ( name ) : Promise < MapsLibrary > Returns Promise < MapsLibrary > import Library ( name ) : Promise < PlacesLibrary > Returns Promise < PlacesLibrary > import Library ( name ) : Promise < GeocodingLibrary > Returns Promise < GeocodingLibrary > import Library ( name ) : Promise < RoutesLibrary > Returns Promise < RoutesLibrary > import Library ( name ) : Promise < MarkerLibrary > Returns Promise < MarkerLibrary > import Library ( name ) : Promise < GeometryLibrary > Returns Promise < GeometryLibrary > import Library ( name ) : Promise < ElevationLibrary > Returns Promise < ElevationLibrary > import Library ( name ) : Promise < StreetViewLibrary > Returns Promise < StreetViewLibrary > import Library ( name ) : Promise < JourneySharingLibrary > Returns Promise < JourneySharingLibrary > import Library ( name ) : Promise < DrawingLibrary > Returns Promise < DrawingLibrary > import Library ( name ) : Promise < VisualizationLibrary > Returns Promise < VisualizationLibrary > import Library ( name ) : Promise < unknown > Returns Promise < unknown > load load ( ) : Promise < typeof google > Returns Promise < typeof google > load Callback load Callback ( fn ) : void Returns Promise < typeof google > load Callback load Callback ( fn ) : void Returns void
See [[LoaderOptions.apiKey]]
-