Skip to content
This repository has been archived by the owner on Nov 9, 2023. It is now read-only.

map not showing: "Uncaught TypeError: Cannot read property 'style' of undefined" #71

Closed
hayley opened this issue Jun 29, 2012 · 2 comments

Comments

@hayley
Copy link

hayley commented Jun 29, 2012

Hi! I noticed just recently that my gmaps.js powered maps on http://www.cyclocane.com are completely blank.

I went to the main gmaps.js page and I'm seeing the same behaviour. Here's a screenshot:

http://img.skitch.com/20120629-biik6c7c8iscsnnm343a9seyxg.jpg

Like the main gmaps.js site, I am using the master copy of the library (https://raw.github.com/HPNeo/gmaps/master/gmaps.js), so I'm assuming a recent commit may have triggered this.

In Chrome, the error I see is:
Uncaught TypeError: Cannot read property 'style' of undefined gmaps.js:54

In Firefox:
options.zoomControlOpt is undefined
zoomControlStyle = options.zoomControlOpt.style || 'DEFAULT',
gmaps.js (line 54)

Let me know if you need any more details from me.

hpneo added a commit that referenced this issue Jun 29, 2012
@hpneo
Copy link
Owner

hpneo commented Jun 29, 2012

Sorry about that. The last commit had a bug and now it's fixed. Thanks for the alert.

@hayley
Copy link
Author

hayley commented Jun 29, 2012

Awesome! Thanks for the speedy response.

@hayley hayley closed this as completed Jun 29, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants