//Create map or resize it.
$('#mapPage').bind('pageshow', function (event, ui) {
if (!map) {//If this is the first time the page is loaded we need to create the map
createMap();
}
resizeMap(); //Always resize in case the window resized while on another page
});
//Run this whenever the window resizes. We can't resize when the map isn't visible because then it goes crazy when the map is shown
$(window).resize(function () {
if ($('#mapPage:visible').length) {
resizeMap();
}
});
I'm at version 3.13 and am still encountering this problem. Has a fix been released?
I'm also having the same problem in 3.13.