[OpenLayers-Users] Problem with OpenLayers map and mouseposition in scrollable div

christopher.schmidt at nokia.com christopher.schmidt at nokia.com
Thu Sep 15 10:38:41 EDT 2011


After you scroll, does calling map.updateSize() fix the broken mouseposition?

-- Chris

On Sep 15, 2011, at 8:16 AM, ext Lucas Heezen - Covadis wrote:

> Hello,
>  
> We have a page with a OpenLayers map. This map is placed in a parentNode with an overflow-y: auto.
> When we scroll this div with the map the mouseposition is wrong.
>  
> Does anyone have a idea how to solve this? I’m using OpenLayers 2.8 (problem is also in OpenLayers 2.1x).
>  
>  
> 
> Met vriendelijke groet,
> Lucas Heezen
> 
> <image001.gif>
> Covadis b.v.
> t: 026 3616600
> Geograaf 12
> f: 026 3612317
> 6921 EW Duiven
> e: heezen at covadis.nl
>  
>  
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users



More information about the Users mailing list