Google Maps API error without changes to page code

Today, without changes in our code, Google Maps does not work, we get the following errors:

Uncaught TypeError: Cannot read property 'entries' of undefined
at js?key=api_key:102
at js?key=api_key:103
at Fa (js?key=api_key:26)
at js?key=api_key:101
at js?key=api_key:141
(anonymous) @ js?key=api_key:102
(anonymous) @ js?key=api_key:103
Fa @ js?key=api_key:26
(anonymous) @ js?key=api_key:101
(anonymous) @ js?key=api_key:141
search?v=_I0tOw3rSQ_doWiefjlY5aQCOGyEGSTSZnF3_H-NxWg1:1 

Uncaught TypeError: google.maps.LatLngBounds is not a constructor
at a (search?v=_I0tOw3rSQ_doWiefjlY5aQCOGyEGSTSZnF3_H-NxWg1:1)
at Object.d [as init] (search?v=_I0tOw3rSQ_doWiefjlY5aQCOGyEGSTSZnF3_H-NxWg1:1)
at HTMLDocument.<anonymous> (search?v=_I0tOw3rSQ_doWiefjlY5aQCOGyEGSTSZnF3_H-NxWg1:1)
at l (jquery?v=7Sd5PfzIDKXEDPMwZrZ0oOZN3B1M8lJMYBbJRNRKggY1:1)
at Object.fireWith [as resolveWith] (jquery?v=7Sd5PfzIDKXEDPMwZrZ0oOZN3B1M8lJMYBbJRNRKggY1:1)
at Function.ready (jquery?v=7Sd5PfzIDKXEDPMwZrZ0oOZN3B1M8lJMYBbJRNRKggY1:1)
at HTMLDocument.ht (jquery?v=7Sd5PfzIDKXEDPMwZrZ0oOZN3B1M8lJMYBbJRNRKggY1:1)

We load the API as follows:

<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?key=KEY&v=3.exp&libraries=places&language=pt-PT"></script>

We have not changed anything on the page, and today, when we try to execute this page, nothing works.

Any idea? Did Google change something between yesterday and today?

+6
source share
3 answers

You are using the "experimental" version of the API, try the release version. Details (from the documentation ):

The current version is version 3.29. You can request it using one of the following boot files:

<script async defer
src="https://maps.googleapis.com/maps/api/js?v=3
    &key=YOUR_API_KEY&callback=initMap">

or

<script async defer
src="https://maps.googleapis.com/maps/api/js?v=3.29
    &key=YOUR_API_KEY&callback=initMap">

: API Google:

+11

undefined http://maps.googleapis.com/maps/api/ @ajayel: "Google API script Map, 2017 . Map OurMap ".

, Map javascript-, , !

+6

2 , . , JavaScript API Google Maps. API, API . JavaScript API Google Maps. , API JavaScript Google Maps. - , API . .

+1
source

All Articles