-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use the API libraries without the need of using a map first [Feat] #331
Comments
You can't use it without the The APIProvider is needed since that is the component that handles loading the maps-API (in the current implementation that is essentially setting up the |
I agree, using the As for the Thanks a lot. |
updated README: #332 |
Yes for me as well... |
Target Use Case
We want to be able to use the google map libraries without wrapping our component inside a map as we don't need one.
We want to use the Gecoding class in order to get lat and long for some random address.
Proposal
Currently the
useMapsLibrary('geocoding')
will work only if our component is wrapped with aAPIProvider
andMap
components.Can't we just use this hook without a
APIProvider
andMap
component wrappers?Thanks!
The text was updated successfully, but these errors were encountered: