js-api-loader
js-api-loader copied to clipboard
Load the Google Maps JavaScript API script dynamically.
Future feature work could include the ability to reset or clear the singleton, script tag, and `window.google`. This likely overlaps with #5. Looking for more feedback on uses cases and...
> The API session token expires if someone leaves a map open for more than about 24 hours, so it's normal to see a low level of these errors. (This...
I am not aware of a valid use for `deleteScript`. It should be removed from the public class interface.
Not sure what the implementation should look like. But it would be useful to know if they key is valid or not and allow a different code path in the...
I'm not sure if this is actually possible...
Hi all, This version of the map loader, like the previous one, does not provide the ability to incrementally and dynamically load libraries at different instance of time. In my...
#### Environment details 1. google.maps.places.AutocompleteService 2. "@googlemaps/js-api-loader": "^1.11.2", #### Steps to reproduce I load the library as follows ```javascript new Loader({ apiKey: process.env.REACT_APP_GOOGLE_PLACES_API_KEY, libraries: ['places'], language: selectedLanguage, }); ``` I...
I'm using a state library that will hold the dynamically loaded google api to use across many components. ```ts // I have something like this export const googleVar = makeVar(null);...
Bumps [json-schema](https://github.com/kriszyp/json-schema) and [jsprim](https://github.com/joyent/node-jsprim). These dependencies needed to be updated together. Updates `json-schema` from 0.2.3 to 0.4.0 Commits f6f6a3b Use a little more robust method of checking instances ef60987 Update...