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

Lucas Heezen - Covadis heezen at covadis.nl
Thu Sep 15 14:42:01 EDT 2011


Hello Christopher,

That worked. I created a link and clicked on it after i scrolled the div.
But how do we integrate this into openlayers?

(Sorry for the double message, but now it's also send to the userlist).


Met vriendelijke groet,
Lucas Heezen

Covadis b.v. 
t: 026 3616600 

Geograaf 12 
f: 026 3612317 

6921 EW Duiven 
e: heezen at covadis.nl



-----Oorspronkelijk bericht-----
Van: christopher.schmidt at nokia.com [mailto:christopher.schmidt at nokia.com] 
Verzonden: donderdag 15 september 2011 16:39
Aan: Lucas Heezen - Covadis
CC: openlayers-users at lists.osgeo.org
Onderwerp: Re: [OpenLayers-Users] Problem with OpenLayers map and mouseposition in scrollable div

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