[OpenLayers-Users] vector layer alignment problem

Eric Lemoine eric.c2c at gmail.com
Mon Dec 3 14:29:18 EST 2007


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



More information about the Users mailing list