js-api-loader
js-api-loader copied to clipboard
Load the Google Maps JavaScript API script dynamically.
I am using the `@googlemaps/js-api-loader` package in a React app. I am noticing that for some users the map libraries fail to load even after multiple retries. Code: ``` import...
When loading the maps library followed by another library using `loader.importLibrary()` and async/await syntax, a misleading warning-message `"Google Maps already loaded outside @googlemaps/js-api-loader.This may result in undesirable behavior as options...
This is a full refactoring of the rollup configuration to speed up builds, simplify the configuration, prevent warnings and fix an error with the generated source maps. In detail: -...
#### Environment details #### Steps to reproduce 1. install v1.16.3 2. build your project with react-scripts 3. check the output #### Code example ``` # example ``` #### Stack trace...
``` import { Loader } from "@googlemaps/js-api-loader"; ^^^^^^ SyntaxError: Named export 'Loader' not found. The requested module '@googlemaps/js-api-loader' is a CommonJS module, which may not support all module.exports as named...
Bumps [follow-redirects](https://github.com/follow-redirects/follow-redirects) from 1.15.2 to 1.15.4. Commits 6585820 Release version 1.15.4 of the npm package. 7a6567e Disallow bracketed hostnames. 05629af Prefer native URL instead of deprecated url.parse. 1cba8e8 Prefer native...
Bumps [axios](https://github.com/axios/axios) to 1.6.1 and updates ancestor dependency [chromedriver](https://github.com/giggio/node-chromedriver). These dependencies need to be updated together. Updates `axios` from 0.24.0 to 1.6.1 Release notes Sourced from axios's releases. Release v1.6.1...
Bumps [@babel/traverse](https://github.com/babel/babel/tree/HEAD/packages/babel-traverse) from 7.21.5 to 7.23.2. Release notes Sourced from @babel/traverse's releases. v7.23.2 (2023-10-11) NOTE: This release also re-publishes @babel/core, even if it does not appear in the linked release...
See failures in https://github.com/googlemaps/js-api-loader/actions
Bumps [selenium-webdriver](https://github.com/SeleniumHQ/selenium) and [@types/selenium-webdriver](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/selenium-webdriver). These dependencies needed to be updated together. Updates `selenium-webdriver` from 4.9.2 to 4.11.1 Release notes Sourced from selenium-webdriver's releases. Selenium 4.11.0 Changelog For each component's detailed...