-
Notifications
You must be signed in to change notification settings - Fork 19
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
Maps: InfoWindows not appearing #657
Comments
same here |
Forcing &v=3.49 on the google maps api fixes it |
@nzamps thanks! that worked 👍🏽 🎉 |
same here! I wasted so much time debugging this issue 😩 |
How and where do we do that? |
depends how you are specifiying the google api. We have a script tag like: <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=xxxxxxxxx&v=3.49"></script>But note: this is only a temporary solution as 3.49 will be EOL next year: https://developers.google.com/maps/documentation/javascript/versions |
Got it. We use https://www.npmjs.com/package/@googlemaps/react-wrapper, which in turn loads the api for us. Can hard code for now. Hope google fixes this soon. |
@vivek-kandhvar we use a different react package but it also uses the <Wrapper apiKey={"YOUR_API_KEY"} render={render} version='3.49'>
<MyMapComponent />
</Wrapper> |
This appears to be working again now. I had to add a new param "callback" to get it to work or it errors with: "Loading the Google Maps JavaScript API without a callback is not supported: https://developers.google.com/maps/documentation/javascript/url-params#required_parameters e.g.
Can anyone else verify? |
Actually, not working. The Info windows popup in the wrong location. |
Any solution for it till now ??? |
I'm also very interested in a solution ;) |
infoWindow.setPosition(marker.getPosition()); can help you |
I spent a day until I found this error, please fix it. Thank you. |
No news on this issue? Is this library still being maintained? |
Environment details
Steps to reproduce
Code example
The text was updated successfully, but these errors were encountered: