diff --git a/classes/Loader.html b/classes/Loader.html
index 165b1528..e8587148 100644
--- a/classes/Loader.html
+++ b/classes/Loader.html
@@ -6,7 +6,7 @@
const loader = new Loader({
apiKey: "",
version: "weekly",
libraries: ["places"]
});
loader.load().then((google) => {
const map = new google.maps.Map(...)
})
- Index
Index
Properties
Readonly
apiKey
apiKey: string
Readonly
authReferrerPolicy
authReferrerPolicy: "origin"
Readonly
channel
channel: string
Readonly
client
client: string
Readonly
language
language: string
Readonly
mapIds
mapIds: string[]
Readonly
nonce
nonce: string
Readonly
region
region: string
Readonly
retries
retries: number
Readonly
version
version: string
Accessors
Methods
deleteScript
- deleteScript(): void
Returns void
importLibrary
- importLibrary(name: "core"): Promise<CoreLibrary>
Returns Promise<CoreLibrary>
- importLibrary(name: "maps"): Promise<MapsLibrary>
Returns Promise<MapsLibrary>
- importLibrary(name: "places"): Promise<PlacesLibrary>
Returns Promise<PlacesLibrary>
- importLibrary(name: "geocoding"): Promise<GeocodingLibrary>
Returns Promise<GeocodingLibrary>
- importLibrary(name: "routes"): Promise<RoutesLibrary>
Returns Promise<RoutesLibrary>
- importLibrary(name: "marker"): Promise<MarkerLibrary>
Returns Promise<MarkerLibrary>
- importLibrary(name: "geometry"): Promise<GeometryLibrary>
Returns Promise<GeometryLibrary>
- importLibrary(name: "elevation"): Promise<ElevationLibrary>
Returns Promise<ElevationLibrary>
- importLibrary(name: "streetView"): Promise<StreetViewLibrary>
Returns Promise<StreetViewLibrary>
- importLibrary(name: "journeySharing"): Promise<JourneySharingLibrary>
Returns Promise<JourneySharingLibrary>
- importLibrary(name: "drawing"): Promise<DrawingLibrary>
Returns Promise<DrawingLibrary>
- importLibrary(name: "visualization"): Promise<VisualizationLibrary>
Returns Promise<VisualizationLibrary>
- importLibrary(name: Library): Promise<unknown>
Returns Promise<unknown>
load
- load(): Promise<typeof google>
Properties
Readonly
apiKey
apiKey: string
Readonly
authReferrerPolicy
authReferrerPolicy: "origin"
Readonly
channel
channel: string
Readonly
client
client: string
Readonly
language
language: string
Readonly
mapIds
mapIds: string[]
Readonly
nonce
nonce: string
Readonly
region
region: string
Readonly
retries
retries: number
Readonly
version
version: string
Accessors
Methods
deleteScript
- deleteScript(): void
Returns void
importLibrary
- importLibrary(name: "core"): Promise<CoreLibrary>
Returns Promise<CoreLibrary>
- importLibrary(name: "maps"): Promise<MapsLibrary>
Returns Promise<MapsLibrary>
- importLibrary(name: "places"): Promise<PlacesLibrary>
Returns Promise<PlacesLibrary>
- importLibrary(name: "geocoding"): Promise<GeocodingLibrary>
Returns Promise<GeocodingLibrary>
- importLibrary(name: "routes"): Promise<RoutesLibrary>
Returns Promise<RoutesLibrary>
- importLibrary(name: "marker"): Promise<MarkerLibrary>
Returns Promise<MarkerLibrary>
- importLibrary(name: "geometry"): Promise<GeometryLibrary>
Returns Promise<GeometryLibrary>
- importLibrary(name: "elevation"): Promise<ElevationLibrary>
Returns Promise<ElevationLibrary>
- importLibrary(name: "streetView"): Promise<StreetViewLibrary>
Returns Promise<StreetViewLibrary>
- importLibrary(name: "journeySharing"): Promise<JourneySharingLibrary>
Returns Promise<JourneySharingLibrary>
- importLibrary(name: "drawing"): Promise<DrawingLibrary>
Returns Promise<DrawingLibrary>
- importLibrary(name: "visualization"): Promise<VisualizationLibrary>
Returns Promise<VisualizationLibrary>
- importLibrary(name: Library): Promise<unknown>
Returns Promise<unknown>
load
- load(): Promise<typeof google>
Returns Promise<typeof google>
loadCallback
- loadCallback(fn: (e: ErrorEvent) => void): void
Returns Promise<typeof google>
loadCallback
- loadCallback(fn: (e: ErrorEvent) => void): void
Parameters
- fn: (e: ErrorEvent) => void
Returns void
See [[LoaderOptions.apiKey]]
-