[OpenLayers-Dev] Probable draw issue
Niklas.Ringdahl at sweco.se
Tue Dec 29 08:28:52 EST 2009
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.
Från: dev-bounces at openlayers.org [mailto:dev-bounces at openlayers.org] För Gianni Barrotta
Skickat: den 23 december 2009 18:45
Till: Dev at openlayers.org
Ämne: [OpenLayers-Dev] Probable draw issue
I've experienced a problem when the Map is inside a div whoose css style have a "overflow-y:auto" property.
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.
Does anyone experienced something like this?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Dev