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