António
António

Reputation: 103

Google Maps API places library gives 404 error

I have this on my page:

<script type="text/javascript" src="http://maps.googleapis.com/maps/api/js?libraries=places&sensor=false"></script>

I use this library so that on certain input elements I can display an autocomplete list of places.

Until a few days ago, it was working fine. Now, it doesn't work and I noticed this error on my Chrome's console:

GET http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/api-3/9/10a/%7Bmain,places%7D.js?_=1343069114062 404 (Not Found)

I've come so far as to understanding that it's the ?_=1343069114062 part that is breaking (try http://maps.gstatic.com/cat_js/intl/en_us/mapfiles/api-3/9/10a/%7Bmain,places%7D.js - works fine.)

Can you help me figure this out?

Thank you.

Upvotes: 3

Views: 3896

Answers (1)

Ant&#243;nio
Ant&#243;nio

Reputation: 103

Apparently something else on my document was interfering.

I just moved the script tag to another position in the document and everything now works fine.

Upvotes: 2

Related Questions