Commit 5ffca170 authored by Torsten Rahn's avatar Torsten Rahn Committed by Dennis Nienhüser
Browse files

Remove wrong factor 90/85.0511

parent 4c0533d7
......@@ -117,7 +117,7 @@ qreal BaseClipper::tileX2lon( unsigned int x, unsigned int maxTileX )
qreal BaseClipper::tileY2lat( unsigned int y, unsigned int maxTileY )
{
return gd( M_PI - (2*M_PI * y) / maxTileY ) * (90.0 / 85.0511);
return gd(M_PI * (1.0 - (2.0 * y) / maxTileY));
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment