Graphics2D g = renderedMap.createGraphics(); g.setClip(0, 0, d.width, d.height); myView.paint(g);
    public void setView(MapView view) {        myView = view;        myView.setZoom(scale);        Dimension d = myView.getPreferredSize();        //scale = MAX_HEIGHT / (double)d.height;    }