Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Possible compatibility issue with Google Maps #34

Open
chocolata opened this issue Oct 30, 2013 · 4 comments
Open

Possible compatibility issue with Google Maps #34

chocolata opened this issue Oct 30, 2013 · 4 comments
Labels

Comments

@chocolata
Copy link

When Google Maps is included on my page, I get a javascript error:

Uncaught TypeError: Object #<Object> has no method 'load' oocharts.min.js:1
d oocharts.min.js:1
(anonymous function) oocharts.min.js:1
b oocharts.min.js:1
k oocharts.min.js:1
window.onload

Google Maps is included at the very bottom of the page. OOCharts just before.

<script src="http://maps.google.com/maps/api/js?sensor=false"></script>

Could this be related to my setup, or could this be a bug?

@ghost ghost assigned tshaddix Oct 30, 2013
@aircastnet
Copy link

Same problem here with gmaps.

The problem looks to be here :
line 188 : google.load("visualization", "1", { packages: ['corechart', 'table'], 'callback': callback });

@andrewcaulfield
Copy link

Also having the same issue with google analytics.

@tshaddix
Copy link
Owner

tshaddix commented Apr 4, 2014

@maartenmachiels @aircastnet @andrewcaulfield Wow I must have missed this issue when it was originally posted. Sorry about that @maartenmachiels!

We have had people run into this issue before. I'll look into it shortly.

@tshaddix
Copy link
Owner

tshaddix commented Apr 4, 2014

If I remember correctly, these are the lines that cause issues. Including Google Maps introduces a google variable on the global scope but does not actually support the jsapi 👎

I will push a fix shortly.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants