thank you for the quick reply, robert.
i just tried
$('my-map-layer').invalidateSize();
within the document.ready function, but all i get is
Object [object Object] has no method 'invalidateSize'
I also tried $(window). and $(document) but altough leaflet.js is loaded the function is not found. What am i doing wrong?!