Open architectDrivenKenny opened 10 months ago
In what context did you used this code? Did you have set up the provider (referring to https://github.com/ubilabs/google-maps-react-hooks/issues/143) correct and did you read teh documentaion about the hooks?
Here you can find the example for the geocoding service. https://github.com/ubilabs/google-maps-react-hooks/tree/develop/examples/geocoding-service
Hi, I'm also facing this issue right now. The provider is set up correctly on my end. But this issue seems to be happening when it is ran on useEffect for the first load.
In what context did you used this code? Did you have set up the provider (referring to #143) correct and did you read teh documentaion about the hooks?
Here you can find the example for the geocoding service. https://github.com/ubilabs/google-maps-react-hooks/tree/develop/examples/geocoding-service
The sample code above did not seem to define the parameters for geocode()
method which could have caused the "undefined".