Re: [OpenLayers-Users] vector layer alignment problem

2007-12-04 Thread Christopher Schmidt
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. > >

Re: [OpenLayers-Users] vector layer alignment problem

2007-12-03 Thread Roald de Wit
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 cal

Re: [OpenLayers-Users] vector layer alignment problem

2007-12-03 Thread Christopher Schmidt
On Mon, Dec 03, 2007 at 04:07:41PM -0500, Heidt, Christopher M. wrote: > Attached is a clone of the draw feature example page, with an extra > function that adds divs to the top of the page when u click the add div > link. If you draw some points, then add some divs to the page, then draw > some m

Re: [OpenLayers-Users] vector layer alignment problem

2007-12-03 Thread Heidt, Christopher M.
Lemoine [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 2:29 PM To: Heidt, Christopher M. Cc: users@openlayers.org Subject: Re: [OpenLayers-Users] vector layer alignment problem On Dec 3, 2007 7:15 PM, Heidt, Christopher M. <[EMAIL PROTECTED]> wrote: > > > I looked for

Re: [OpenLayers-Users] vector layer alignment problem

2007-12-03 Thread Eric Lemoine
On Dec 3, 2007 7:15 PM, Heidt, Christopher M. <[EMAIL PROTECTED]> wrote: > > > I looked for an issue ticket and didn't find one. > Just wondering if anybody else has discovered this issue. > > If I create a map with a vector layer, draw on it, and then the map div is > repositioned on the page (due

[OpenLayers-Users] vector layer alignment problem

2007-12-03 Thread Heidt, Christopher M.
I looked for an issue ticket and didn't find one. Just wondering if anybody else has discovered this issue. If I create a map with a vector layer, draw on it, and then the map div is repositioned on the page (due to items above it resizing) further drawing on that layer is off by the amount the