I have a website that uses Google Maps API. It was working properly before.
When trying to call Google Maps on my website it shows a type error:
TypeError: Class extends value # is not a constructor or null from https://maps.googleapis.com/maps/api/js?v=3.exp&sensor=false&key=XYZ
Line 404 column 229. And the map is not loading.
My code doesn’t have any complicated functions. It displays a specific location on the map. I have tried to change the API key but the result is still the same.
Is there any way to solve this problem? I would like to know why this error is happening and how to solve this problem.
Console screenshot
Geosense mail is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.
1