diff --git a/classes/Loader.html b/classes/Loader.html index 4288e453..8cb2d41c 100644 --- a/classes/Loader.html +++ b/classes/Loader.html @@ -6,40 +6,40 @@ 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(...)
})
-Creates an instance of Loader using LoaderOptions. No defaults are set using this library, instead the defaults are set by the Google Maps JavaScript API server.
const loader = Loader({apiKey, version: 'weekly', libraries: ['places']});
-See LoaderOptions.id
-Load the Google Maps JavaScript API script and return a Promise.
-Load the Google Maps JavaScript API script with a callback.
Generated using TypeDoc