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 more points, you will witness the issue.
-----Original Message----- From: Eric Lemoine [mailto:[EMAIL PROTECTED] Sent: Monday, December 03, 2007 2:29 PM To: Heidt, Christopher M. Cc: [email protected] Subject: Re: [OpenLayers-Users] vector layer alignment problem 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 to items above it resizing) > further drawing on that layer is off by the amount the map was repositioned. > > So if my map moves down 10px, my vector features will be drawn 10px > below where I am actually clicking. > > If I drag the map around a bit, everything seems to resync, and > features draw correctly. > > I've duplicated this error of IE6, IE7, Opera9, and FF2. Hi, Do you have an HTML page we can look at to see the problem? Thanks, -- EricAdd div
OpenLayers Draw Feature Example
Feature digitizing is in freehand mode by default. In freehand mode, the mouse is treated as a pen. Drawing begins on mouse down, continues with every mouse move, and ends with mouse up.
To turn freehand mode off, hold down the shift key while digitizing. With freehand mode off, one vertex is added with each click and double-clicks finish drawing. Freehand mode can be toggled on and off at any time while drawing.
_______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
