<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.6000.16939" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><SPAN class=697062313-29122009><FONT face=Arial
color=#0000ff size=2>I am also experiencing an issue that sounds like yours. I
am using a UI framework (JSF) that opens the map in a floating div (imitating a
window), and when the underlying page is scrolled, the zoom box appears below
the mouse pointer. I realized recently that the distance is equal to the amount
of scrolled pixels, as if the map object believes that is being scrolled down
with the page.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=697062313-29122009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=697062313-29122009><FONT face=Arial
color=#0000ff size=2>The problem can be caused by the mixing of javascript and
css libraries, of course, but if anyone has a neat little trick to solve this,
that would be highly appreciated.</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=697062313-29122009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV>
<DIV dir=ltr align=left><SPAN class=697062313-29122009><FONT face=Arial
color=#0000ff size=2>Thanks!</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=697062313-29122009><FONT face=Arial
color=#0000ff size=2>- Niklas</FONT></SPAN></DIV>
<DIV dir=ltr align=left><SPAN class=697062313-29122009><FONT face=Arial
color=#0000ff size=2></FONT></SPAN> </DIV><BR>
<DIV class=OutlookMessageHeader lang=sv dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>Från:</B> dev-bounces@openlayers.org
[mailto:dev-bounces@openlayers.org] <B>För </B>Gianni
Barrotta<BR><B>Skickat:</B> den 23 december 2009 18:45<BR><B>Till:</B>
Dev@openlayers.org<BR><B>Ämne:</B> [OpenLayers-Dev] Probable draw
issue<BR></FONT><BR></DIV>
<DIV></DIV>Hi, <BR>I've experienced a problem when the Map is inside a div
whoose css style have a "overflow-y:auto" property.<BR><BR><I><div
style="height:600px;overflow-y:auto;"><BR>
<div
id="map"></div><BR></div></I><BR><BR>If I scrooll down the div
with the overflow, the bbox (and the draw controls too) appears to be shifted
down of the number of pixel of the scrollbar.<BR>Does anyone experienced
something like this?<BR>Thank's.<BR></BODY></HTML>