improved layer setPanLimits, fixed piGeoData scaling problem