
{</BUG>
return quadTile(coor);
}
<BUG>static long lon2x(double lon)

{</BUG>
long ret = (long)((lon + 180.0) * WORLD_PARTS / 360.0);
if (ret == WORLD_PARTS) {
ret--;

tile <<= 2;
tile |= (xbit<<1) | ybit;
}
return tile;
}
static long coorToTile(LatLon coor) {
return quadTile(coor);
}
static long lon2x(double lon) {
long ret = (long)((lon + 180.0) * WORLD_PARTS / 360.0);
if (ret == WORLD_PARTS) {
ret--;
