jQuery-Mapbox
jQuery-Mapbox copied to clipboard
Cloned, does not work at all.
I'm having issues getting this Mapbox to work at all. I've cloned the repo and even that example doesn't work. Whenever I click on the map I get these two errors in the development console:
Uncaught TypeError: Cannot read property 'style' of undefined jquery.mapbox.js:318 Uncaught TypeError: Cannot read property 'style' of undefined jquery.mapbox.js:331
When looking at that area it seems to have to do with the fact that .current_map_layer cannot be found at all. I'll dig deeper myself but would like some help resolving this issue.
Hmm, I merged what I thought were simple changes yesterday without really reviewing them. Sorry, will fix as soon as I can. Try using the previous version for now: https://github.com/wayfarer/jQuery-Mapbox/tree/3c2d3f90058cc406aa0320b11f361b3632fd3356