Bouffe
Bouffe

Reputation: 849

Google Maps libraries 404

I import Google Maps API since long time on my project with:

<script type="text/javascript" src="https://maps-api-ssl.google.com/maps/api/js?libraries=places,geometry&amp;sensor=false&amp;language=fr" ></script>

This script try to load 3 libraries:

  https://maps-api-ssl.google.com/maps-api-v3/api/js/21/9/intl/fr_ALL/main.js 
  https://maps-api-ssl.google.com/maps-api-v3/api/js/21/9/intl/fr_ALL/geometry.js
  https://maps-api-ssl.google.com/maps-api-v3/api/js/21/9/intl/fr_ALL/places.js

But all fail, and return 404

The same script without https is working, but the problem is just until 1 ou 2 days..

<script type="text/javascript" src="http://maps-api-ssl.google.com/maps/api/js?libraries=places,geometry&amp;sensor=false&amp;language=fr" ></script>

juste call

  http://maps-api-ssl.google.com/maps-api-v3/api/js/21/9/intl/fr_ALL/main.js 
  http://maps-api-ssl.google.com/maps-api-v3/api/js/21/9/intl/fr_ALL/geometry.js
  http://maps-api-ssl.google.com/maps-api-v3/api/js/21/9/intl/fr_ALL/places.js

enter image description here

Have you an idea of why ?

Upvotes: 0

Views: 1510

Answers (1)

nickoj
nickoj

Reputation: 38

I had the same issue with the maps api on that url, though using the en_GB version. It was fine up until last night. I have fixed it by calling the url on the google api tutorial at https://developers.google.com/maps/documentation/javascript/tutorial

So instead of:

<script type="text/javascript" src="https://maps-api-ssl.google.com/maps/api/js?libraries=places,geometry&amp;sensor=false&amp;language=fr" ></script>

You could try:

 <script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=places,geometry&amp;sensor=false&amp;language=fr" ></script>

Upvotes: 1

Related Questions