g.drawImage(scaledImage, x, y, null);
    public void drawRaw(Graphics g, int x, int y, double zoom) {            if (zoom != 1.0) {                int h = (int)(getHeight() * zoom);				if (scaledImage == null || scaledImage.getHeight(null) != h) {					scaledImage = getScaledImage(zoom);					MediaTracker mediaTracker = new MediaTracker(new Canvas());					mediaTracker.addImage(scaledImage, 0);					try {						mediaTracker.waitForID(0);					}					catch (InterruptedException ie) {						System.err.println(ie);						return;					}					mediaTracker.removeImage(scaledImage);					g.drawImage(scaledImage, x, y, null);				} else {		        	//TODO: drawing ids when there is no tile data should be a config option.		            //g.drawString("" + id, x, y);		        }                            } else {                g.drawImage(getImage(), x, y, null);            }            }