You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to be closer to the implementation in the google maps API, we want to change the returned type for the useMapsLibrary hook from boolean to the actual API Object returned by google.maps.importLibrary. At the same time we want to drop support for importing multiple libraries at once.
This removes the requirement to access the maps API via the global google.maps. variables (which seems to be something google wants to move away from in the long term).
In order to be closer to the implementation in the google maps API, we want to change the returned type for the
useMapsLibrary
hook from boolean to the actual API Object returned bygoogle.maps.importLibrary
. At the same time we want to drop support for importing multiple libraries at once.This removes the requirement to access the maps API via the global
google.maps.
variables (which seems to be something google wants to move away from in the long term).So instead of
it would be
The text was updated successfully, but these errors were encountered: