google-maps-react-hooks icon indicating copy to clipboard operation
google-maps-react-hooks copied to clipboard

Google Maps JavaScript API async load help required.

Open sultanularefin opened this issue 1 year ago • 1 comments

google_map_issue_github_

Hi I am this package in some of my projects. I find this package underrated, anyway need help for below issues:

  1. 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 The above issue may cause rendering problem when deployed to the server sometimes.

  2. (optional) As of February 21st, 2024, google.maps.Marker is deprecated. Please use google.maps.marker.AdvancedMarkerElement instead. Please see https://developers.google.com/maps/deprecations for deprecation details.

sultanularefin avatar Feb 25 '24 06:02 sultanularefin

+1 for the loading=async.

TiagoSousa123 avatar Jun 13 '24 12:06 TiagoSousa123