[OpenLayers-Users] vector layer alignment problem
Heidt, Christopher M.
CHRISTOPHER.M.HEIDT at saic.com
Mon Dec 3 16:07:41 EST 2007
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:eric.c2c at gmail.com]
Sent: Monday, December 03, 2007 2:29 PM
To: Heidt, Christopher M.
Cc: users at openlayers.org
Subject: Re: [OpenLayers-Users] vector layer alignment problem
On Dec 3, 2007 7:15 PM, Heidt, Christopher M.
<CHRISTOPHER.M.HEIDT at saic.com> 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,
--
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20071203/602fa01a/example.html
More information about the Users
mailing list