Sorry about some of the indenting. My editor uses a 4-character tab and of course this forum uses an 8-character tab.
Also...I didn't change the mousewheel code yet. I would have to change the mapbox.js code to do that. Or, better, throw out its code and use my own.
One glitch I noticed: If you scroll to, say, the bottom right corner of the map at zoom level 100 and then change to zoom level 75 or 50, the map disappears. But a single mouse click anywhere in the map area restores it.
So I would just need to find the code to do the equivalent of that mouse click after any resize.
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Last edited by Old Pedant; 01-01-2013 at 12:27 AM..