neveldo / jQuery-Mapael

jQuery plugin based on raphael.js that allows you to display dynamic vector maps
https://www.vincentbroute.fr/mapael/
MIT License
1.01k stars 195 forks source link

The map class `map` doesn't exists #305

Closed monnie closed 7 years ago

monnie commented 7 years ago

Hi there!

I have installed jquery-mapael via bower and out of the box jquery.mapael.js throws an error at line 136 "The map class map doesn't exists". It could be that I've missed something in the setup. All of the dependencies installed and I can confirm I've copied the minimal html and js to display the map. Any ideas what could cause this error and where I should look to debug?

Thank you!

monnie commented 7 years ago

Hi again,

I was able to resolve it by changing .container in the example to .map-container, so probably just a mismatch/typo on my part. Looking forward to working with this plugin!

neveldo commented 7 years ago

Hi ! Thanks for having shared the answer :)