import chunmap.raster.Tile;
import chunmap.util.image.ImageUtil;
public class StaticGMConn extends GMConnection {
public Image getImage(GMTile tile_) {
Tile tile = (tile_.proxy == null) ? tile_ : tile_.proxy;
String name = tile.toString();
Image image = cache.find(name);
if (image != null)
return image;
CPoint p=tile.getEnvelop().getCenter();
// Mercator proj=new Mercator();
// p=proj.getReverseTransform().convert(p);
String url = getString(p.getX(),p.getY(), tile.z);
try {