[OpenLayers-Users] Correct and fast map div resizing

Eric Lemoine eric.c2c at gmail.com
Sat Sep 13 04:49:42 EDT 2008


Hi.

For the record, MapFish's so-called map component does map.updateSize
only on panel resize. Eric

2008/9/12, Christopher Schmidt <crschmidt at metacarta.com>:
> 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
> _______________________________________________
> Users mailing list
> Users at openlayers.org
> http://openlayers.org/mailman/listinfo/users
>



More information about the Users mailing list