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

Update map doesn't work, and no errors are given by the browser! #239

Closed TheQuantumPhysicist closed 8 years ago

TheQuantumPhysicist commented 8 years ago

Hi man, thanks a lot for the great package!

I have a problem and I'd really appreciate it if you could help me. I used the minimum example I saw here:

http://jsfiddle.net/neveldo/98xqw02n/

and I followed the pattern exactly and consulted the documentation and it didn't work. It works locally (a simpler version from the example) on my computer, but on this page:

https://budker.uni-mainz.de/gnome/gnome/plot_index_new.php

it doesn't work. This page is planned to be included in some other page. So I stripped it to minimal. It doesn't work whether included or not. The bad part is that I don't get any error messages and yet it doesn't work. It's just that nothing happens when I trigger the update. How can I debug this? Would you take a look please? I'd highly appreciate it!

TheQuantumPhysicist commented 8 years ago

It turned out I was using the head version of the repository, which is not compatible with the example of 1.1.0.

neveldo commented 8 years ago

Hello, @samerafach , Thank you for having shared the answer !