Next and @vis.gl/react-google-maps
Unanswered
Asari posted this in #help-forum
AsariOP
I keep getting swindled by trying to set up basic Google APIs and the documentation and followup on code seems subpar. Google's old suggestion for @googlemaps/react-wrapper now seems to be broken so I'm trying to make their new suggestion @vis.gl/react-google-maps work. Two questions:
1. Their documentation (https://www.npmjs.com/package/@vis.gl/react-google-maps) says to wrap around the individual component that you need to use the Google API, but this causes warnings when you navigate via Next to other components that use it (see screenshot). Would you recommend to just wrap the entire app with the APIProvider?
2. Autocomplete hasn't been documented as working. If anyone has a good example of using Autocomplete, I'd love to see them.
Thanks ahead of time
1. Their documentation (https://www.npmjs.com/package/@vis.gl/react-google-maps) says to wrap around the individual component that you need to use the Google API, but this causes warnings when you navigate via Next to other components that use it (see screenshot). Would you recommend to just wrap the entire app with the APIProvider?
2. Autocomplete hasn't been documented as working. If anyone has a good example of using Autocomplete, I'd love to see them.
Thanks ahead of time