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

Uncaught TypeError: Cannot read property 'name' of undefined #361

Open
russell-kitchen opened this issue Dec 22, 2015 · 1 comment
Open

Comments

@russell-kitchen
Copy link

So I'm fairly new to Jvectormap. Following the instructions I came across this when hovering over the map.
http://puu.sh/m4Chs/9b32ca9254.png

Just using the default continents map from the Jvector site.
http://jvectormap.com/maps/world/continents/

I'm not really knowledgeable enough to debug fresh off the bat. Any ideas?

The map itself is loading fine, but when hovering over the map I get this error. No hover styling either.

Sorry if this is the wrong place to ask

Thank-you

@russell-kitchen
Copy link
Author

Country code IDs were in the wrong case. You'll probably need to sort that out as it seems all the maps available on your site have the same problem. Means going through and changing to lowercase or changing the javascript to accept both.

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

No branches or pull requests

1 participant