public void setProjectionImpl ( ProjectionImpl p ) { // transfer selection region to new coord system if ( geoSelection != null ) { LatLonRect geoLL = project . projToLatLonBB ( geoSelection ) ; setGeoSelection ( p . latLonToProjBB ( geoLL ) ) ; } // switch projections project = p ; navigate . setMapArea ( project . getDefaultMapArea ( ) ) ; if ( Debug . isSet ( "projection/set" ) || debugNewProjection ) System . out . println ( "projection/set NP=" + project ) ; // transfer reference point to new coord system if ( hasReference ) { refWorld . setLocation ( project . latLonToProj ( refLatLon ) ) ; } }
Set the Projection change the Map Area to the projection s default .