[OpenLayers-Users] Correct and fast map div resizing

Christopher Schmidt crschmidt at metacarta.com
Fri Sep 12 10:25:41 EDT 2008


On Fri, Sep 12, 2008 at 07:03:24AM -0700, BrainDrain wrote:
> 
> powerful community!
> I use ExtJS resizable window as a container for my map.
> on resize event I have to update map size:

Er, I'm not sure why you're reinitializing your resolutions. I would
recommend not doing this. Just updating the size (map.updateSize) 
should be sufficient. (It will recenter the map, force a redraw, etc.)

What happens if you just try that?

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list