Open gigo6000 opened 2 years ago
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 😩 Hope they fix this ASAP
Forcing &v=3.49 on the google maps api fixes it
How and where do we do that?
depends how you are specifiying the google api. We have a script tag like:
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 @googlemaps/js-api-loader
to load the Google Maps Api, according to the docs of react-wrapper
all options accepted by @googlemaps/js-api-loader
are also accepted as props to the wrapper component so you should be able to do something like this:
<Wrapper apiKey={"YOUR_API_KEY"} render={render} version='3.49'>
<MyMapComponent />
</Wrapper>
Precisely, we have until May 2023 to fix this
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 js:258"
e.g. &callback=initMap
<script>
function initMap() {
};
</script>
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. The workaround infoWindow.setPosition(marker.getPosition()); helps, but the infowindow has not the right position. moving it up by changing lng value is not that simple since it depends on the map zoom level`?
No news on this issue? Is this library still being maintained?
Environment details
Steps to reproduce
Code example