XY2LatLon function

computes the centered coordinate transformation from lat/lon to map tile coordinates