Reputation: 849
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&sensor=false&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&sensor=false&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
Have you an idea of why ?
Upvotes: 0
Views: 1510
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&sensor=false&language=fr" ></script>
You could try:
<script type="text/javascript" src="https://maps.googleapis.com/maps/api/js?libraries=places,geometry&sensor=false&language=fr" ></script>
Upvotes: 1