For the life of me I can't figure out why I can't load a map into a CSS template I'm trying to customize.

I've placed a fiddle here:


Basically I'm trying to get a map to load into the red DIV Container (called mapBox)

I hope its something small and/or user error!

Thank you!




var map = mapbox.map('map');


var map = mapbox.map('mapBox');
  • That doesn't seem to work either - see updated jsfiddle...(I actually had that changed but the changes are stored in the URL it seems) – DPSSpatial Apr 9 '13 at 21:55
  • 1
    This seems to have more to do with JSFiddle than with the problem itself. The code seems to be working fine outside of the fiddle environment. tc.umn.edu/~dykex005/projects/mapbox.html – Kevin R Dyke Apr 9 '13 at 23:00
  • Strange: it does work in your posted example and when I bring your code down locally it works...yet my project doesn't load the map and the jsfiddle doesn't work! I wonder what' up??? Thank you @kevin for taking a look at this! – DPSSpatial Apr 10 '13 at 14:12

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.