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: [email protected]



-----Oorspronkelijk bericht-----
Van: [email protected] [mailto:[email protected]] 
Verzonden: donderdag 15 september 2011 16:39
Aan: Lucas Heezen - Covadis
CC: [email protected]
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: [email protected]
>  
>  
> _______________________________________________
> Users mailing list
> [email protected]
> http://lists.osgeo.org/mailman/listinfo/openlayers-users

_______________________________________________
Users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/openlayers-users

Reply via email to