public <T> T getTile4LatLon( double lon, double lat, int zoom, Class<T> adaptee ) throws IOException {
        final int ty = MercatorProjection.latitudeToTileY(lat, (byte) zoom);
        final int tx = MercatorProjection.longitudeToTileX(lon, (byte) zoom);
        return getTile4TileCoordinate(ty, tx, zoom, adaptee);
    }
public < T > T getTile4LatLon ( double lon , double lat , int zoom , Class < T > adaptee ) throws IOException { final int ty = MercatorProjection . latitudeToTileY ( lat , ( byte ) zoom ) ; final int tx = MercatorProjection . longitudeToTileX ( lon , ( byte ) zoom ) ; return getTile4TileCoordinate ( ty , tx , zoom , adaptee ) ; }
Get tile data for a given lat/lon/zoomlevel.

@param lon the WGS84 longitude.
@param lat the WGS84 latitude.
@param zoom the zoomlevel
@param adaptee the class to adapt to.
@return the generated data.
@throws IOException