#divMap{ height: 100%; width: 100%; }
<div id="divMap" style="height:100%; width:100%;"></div>
var resizeTimer; map.on("load", function(theMap) { aspect.after(registry.byId("map"), "resize", function() { clearTimeout(resizeTimer); resizeTimer = setTimeout(function() { map.reposition(); map.resize(); }, 500); }); });