Description
The Google Maps JavaScript API has been loaded directly without using the loading=async attribute. This can lead to suboptimal performance, as the script blocks the rendering of other resources. Following best practices for loading the Google Maps JavaScript API can enhance the performance and user experience of the application.
Steps to Reproduce
Check the HTML where the Google Maps JavaScript API is included.
Observe that the script tag does not use the loading=async attribute.
Expected Behavior
The Google Maps JavaScript API script should be loaded asynchronously using the loading=async attribute to ensure optimal performance.
Description The Google Maps JavaScript API has been loaded directly without using the loading=async attribute. This can lead to suboptimal performance, as the script blocks the rendering of other resources. Following best practices for loading the Google Maps JavaScript API can enhance the performance and user experience of the application.
Steps to Reproduce Check the HTML where the Google Maps JavaScript API is included. Observe that the script tag does not use the loading=async attribute.
Expected Behavior The Google Maps JavaScript API script should be loaded asynchronously using the loading=async attribute to ensure optimal performance.
https://developers.google.com/maps/documentation/javascript/overview#Loading_the_Maps_API