Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

All,

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:

http://jsfiddle.net/mapbaker/Du7zq/10/

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!

-m

share|improve this question
1  
can you place the code on jsfiddle? jsfiddle.net –  Mapperz Apr 8 '13 at 21:31

1 Answer 1

Change

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

to

var map = mapbox.map('mapBox');
share|improve this answer
    
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) –  mapBaker 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! –  mapBaker Apr 10 '13 at 14:12

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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