[GIS] Problems with zooming and mouse events in Openlayers

openlayers-2

I'm having trouble with everything mouse related for an Openlayers map when the map is placed inside a DIV with position fixed. The map works fine when you're at the top of the viewport of the browser, but when you're scrolling down the page, you can see that the zooming/click effects are shifted. You can check here http://41.32.148.178:82/#!search=KFC%2F0%2F0%2F0%2F%2F to see exactly what I mean.

Thanks.

Best Answer

I was using an outdated version of openlayers (2.01), updating to the latest version of openlayers solved the issue