Hi,
It's likely a problem with your picture viewer. It seems, that when you
scroll down and new posts are loaded, the image tags are resized and an
event handler is added. 
Change the visibility of your track layer of a broken map. Then you can
click on a tile like on your other pictures and get the large display.
Interesting.
Arnd

-----Ursprüngliche Nachricht-----
Von: [email protected]
[mailto:[email protected]] Im Auftrag von S2
Gesendet: Montag, 30. Mai 2011 09:18
An: [email protected]
Betreff: [OpenLayers-Users] page resize breaks map?

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