[OpenLayers-Users] page resize breaks map?

S2 s2.akira at tin.it
Mon May 30 03:17:58 EDT 2011


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.



More information about the Users mailing list