scale = MAX_HEIGHT / (double)d.height;
    public void setView(MapView view) {        myView = view;                myView.setZoom(scale);        Dimension d = myView.getPreferredSize();        scale = MAX_HEIGHT / (double)d.height;    }