Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Google Maps JavaScript API has been loaded directly without loading=async #195

Open
barryofguilder opened this issue Apr 19, 2024 · 1 comment

Comments

@barryofguilder
Copy link

Describe the bug

When I run my app using the <GMap /> component, I get the following warning in the developer console:

"Google Maps JavaScript API has been loaded directly without loading=async. This can result in suboptimal performance. For best-practice loading patterns please see https://goo.gle/js-api-loading"

To Reproduce

Launch an application using the <GMap /> component in it's most basic form. You will see the warning message displayed in the developer console of the browser.

Screenshots

Screenshot 2024-04-19 at 11 14 16 AM

Additional context


Addon configuration and device details

Addon configuration:

  • Addon version: 7.2.1

  • Addon config from environment.js (do not post your API key):

'ember-google-maps': {
  key: process.env.GOOGLE_MAPS_API_KEY,
  language: 'en',
  region: 'US',
  protocol: 'https',
  version: '3.55',
},
  • Google Maps version: 3.55

Desktop:

  • OS: macOS 14.4.1

  • Browser: Chrome

  • Version: 123.0.6312.124

@sandydoo
Copy link
Owner

See #193.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants