[OpenLayers-Users] vector layer alignment problem

Christopher Schmidt crschmidt at metacarta.com
Tue Dec 4 06:59:58 EST 2007


On Tue, Dec 04, 2007 at 01:26:49PM +1100, Roald de Wit wrote:
> Hi Chris,
> 
> On Mon, 2007-12-03 at 16:20 -0500, Christopher Schmidt wrote:
> > Any time you change the offset of the map, you should call
> > map.updateSize() so that it updates the 'offsets' element of its events
> > property.
> 
> Is there any way this can be done automatically without actively having
> to call map.updateSize()? I'm thinking of some kind of listener to some
> kind of event. If such a thing is possible, wouldn't it be a nice
> feature to have enabled by default? That way an OL map always works as
> expected.

Which event are you thinking of?

Regards,
-- 
Christopher Schmidt
MetaCarta



More information about the Users mailing list