sandydoo / ember-google-maps

A friendly Ember addon for working with Google Maps.
https://ember-google-maps.sandydoo.me
MIT License
93 stars 24 forks source link

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

Open barryofguilder opened 2 months ago

barryofguilder commented 2 months ago

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:

Desktop:

sandydoo commented 2 months ago

See #193.