Google map was working and now asking require to change API key. After API key updation, it says
Array.from() with an implementation that doesn’t support iterables,
Google Maps JavaScript API v3 to not work correctly.
How it remove this bug?
Google map was working and now asking require to change API key. After API key updation, it says
Array.from() with an implementation that doesn’t support iterables,
Google Maps JavaScript API v3 to not work correctly.
How it remove this bug?
2
Answers
It’s possible we have the same issue.
You probably received a mail from google which annonce an API update.
The first solution you can use is to specify the API version in the url. In that case, the earlier version from the update (april 2023), which is the 3.53.
It will look like that:
The default of this solution is that Google already announces its obsolescence:
Hope it will help. I will post again if I find a sustainable solution.
Axel
In my case, I had a conflict between Prototype.js and the new version of Google Maps API with the functionality Array.from().
So I have to use a local version on my website (because i usually use https://ajax.googleapis.com/ajax/libs/prototype), only call where is use a frame Google Maps and in that local version I change the line:
To:
Hope it will help,
Axel