AW: [OpenLayers-Users] page resize breaks map?
Arnd Wippermann
arnd.wippermann at web.de
Mon May 30 13:03:38 EDT 2011
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.=20
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=A8=B9ngliche Nachricht-----
Von: openlayers-users-bounces at lists.osgeo.org
[mailto:openlayers-users-bounces at lists.osgeo.org] Im Auftrag von S2
Gesendet: Montag, 30. Mai 2011 09:18
An: openlayers-users at lists.osgeo.org
Betreff: [OpenLayers-Users] page resize breaks map?
hello all!
on http://s2.31337.it/ i have some openlayers maps. the page uses =A1=DE =
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
Users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/openlayers-users
More information about the Users
mailing list