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
When I am trying to use Loader to load GoogleMaps I have deprecation warning that says: "Vue: The signature (): Promise<typeof google> of loader.load is deprecated." And it suggests to use below method instead:
loader.importLibrary('places');
Problem here is that GoogleMap component's prop api-promise is not supporting Promise<PlacesLibrary>, which comes from:
constapiPromise2=loader.importLibrary('places');
So it forces us to use deprecation method right now.
Package version: "vue3-google-map": "^0.20.0"
The text was updated successfully, but these errors were encountered:
Same issue. I also think googlemaps/js-api-loader could improve the way they handle the main function deprecation from their API without updating their documentation nor providing a migration guide. (see related issue googlemaps/js-api-loader#837)
When I am trying to use Loader to load GoogleMaps I have deprecation warning that says:
"Vue: The signature (): Promise<typeof google> of loader.load is deprecated."
And it suggests to use below method instead:Problem here is that GoogleMap component's prop
api-promise
is not supportingPromise<PlacesLibrary>
, which comes from:So it forces us to use deprecation method right now.
Package version:
"vue3-google-map": "^0.20.0"
The text was updated successfully, but these errors were encountered: