Exemplo n.º 1
0
function mergiLng($lng, $zoom)
{
    $f = GEO_TILE_SIZE * pow(2, $zoom);
    return Geo::mercatorLngInv($lng / $f * GEO_2_PI - M_PI);
}