Hi Jerome,
thanks for taking the time to answer.
I tried

line 541 of
http://s2.31337.it/
elm.data('olmap').updateSize();

but it seems to have no effect.

On 30.05.2011 9.52, jrom wrote:
Hi,

Perhaps you should try a map.updateSize() after content gets loaded.
It will force a map repaint

Jerome

On Mon, May 30, 2011 at 9:17 AM, S2<[email protected]>  wrote:
hello all!

on http://s2.31337.it/ i have some openlayers maps. the page uses ∞ scroll,
so that when the user scrolls to the bottom of the page, older posts are
loaded automatically.
when this happens the map breaks (the pictures in the map get somehow
resized to a wrong size). you can try this yourself simply by scrolling to
the bottom of the page, let the js load some more posts, and then scroll
back up.

can i somehow force the map to repaint itself? (i could do that when new
content gets loaded).

i tested this with ff4 and ie 8.

thanks.

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users






_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to