By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
457,880 Members | 1,416 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 457,880 IT Pros & Developers. It's quick & easy.

You have included the Google Maps API multiple times on this page. This may cause....

P: 249
In my page:

I tried disabling a few javascript related to Google Maps, but Chrome Console is still pointing me the same errors, saying I have multiple instances of Google maps loaded.

I'm getting errors like not calculating the shipping, or not being able to use the map, blah blah blah.

Can anyone help me find what part of the javascript I have to edit to fix this?

Here is the log:

Expand|Select|Wrap|Line Numbers
  1. Failed to load resource: the server responded with a status of 404 (Not Found)
  2.     main.js:61 Uncaught TypeError: undefined is not a function
  3.     main.js:60 You have included the Google Maps API multiple times on this page. This may cause unexpected errors.main.js:60 yl
  4.     33209.html:9 Uncaught ReferenceError: J is not defined
  5.     VM603:10 Uncaught TypeError: Cannot set property 'geometry' of undefined
  6.     33209.html:1 Uncaught ReferenceError: J is not defined
  7.     33209.html:9 Uncaught ReferenceError: J is not defined
  8.     33209.html:3 Uncaught ReferenceError: J is not defined
  9.     33209.html:6 Uncaught ReferenceError: J is not defined
  10. Failed to load resource: the server responded with a status of 404 (Not Found)

Here the javascript file described on the log:
Apr 1 '15 #1
Share this Question
Share on Google+
1 Reply

P: 249
Solved, just had to remove all copies of Google maps files and leave only the original url:
Apr 1 '15 #2

Post your reply

Sign in to post your reply or Sign up for a free account.