jQuery-Mapbox icon indicating copy to clipboard operation
jQuery-Mapbox copied to clipboard

Cloned, does not work at all.

Open JaTochNietDan opened this issue 11 years ago • 1 comments

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.

JaTochNietDan avatar May 30 '13 18:05 JaTochNietDan

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

wayfarer avatar May 30 '13 21:05 wayfarer