Have you tried using map.getLayerPxFromViewPortPx? I found I needed this in my click handlers.
map.getLonLatFromPixel( map.getLayerPxFromViewPortPx( map.getPixelFromLonLat( new OpenLayers.LonLat(9.55,35.23) ) ) ); -- View this message in context: http://osgeo-org.1560.x6.nabble.com/OpenLayers-getPixelFromLonLat-don-t-return-the-correct-values-tp5053241p5053372.html Sent from the OpenLayers Dev mailing list archive at Nabble.com. _______________________________________________ Dev mailing list d...@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/openlayers-dev