[OpenLayers-Users] Forcing a redraw within google layer
arnd.wippermann at web.de
Mon Jan 26 14:27:35 EST 2009
Try map.updateSize, perhaps this solves your problem.
Von: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Dave Potts
Gesendet: Montag, 26. Januar 2009 07:11
An: users at openlayers.org
Betreff: [OpenLayers-Users] Forcing a redraw within google layer
I have a program with a google map image within a tabbed display.
Only the first third of the map gets draw.
If you resize the bnroswer display everything gets drawn correctly.
Its possible to monitor what the google layer is doing via firefox, it
appears to download all of the tiles correctly, but it just stops drawing
From the way the display is drawn it appears to have only drawn the 3-4
tiles. Scrolling around results in the next tile being loaded in the top
left hand corner.
This seems to be a well known problem in the google world, ie
the suggestion is to call
There does'nt seem to be a way of doing this within openlayers.
Calling redraw on the layer does'nt seem to do anything.
The google map handle is correctly burried away within the openlayer
software, so an external call to map.checkResize appears to be impossible.
Any suggestions? is there a way to force a redraw off the image.
More information about the Users