return tileImage.getScaledInstance( (int)(getWidth() * zoom), (int)(getHeight() * zoom), BufferedImage.SCALE_SMOOTH);
if (tileImage != null) { return tileImage.getScaledInstance( (int)(getWidth() * zoom), (int)(getHeight() * zoom), BufferedImage.SCALE_SMOOTH); } else { return null; }
    public Image getScaledImage(double zoom) {        return tileImage.getScaledInstance(                (int)(getWidth() * zoom), (int)(getHeight() * zoom),                BufferedImage.SCALE_SMOOTH);    }