-- openmap.Projection=cadrg in code -- int projType = ProjectionFactory.getProjType(projName); mapBean.setProjectionType(projType); however those getProjType and setProjectionType are now deprecated and i want to update my calls. i tried the following however when the app starts i was still left with a Mercator projection. stepping through the code it seems like the projectionfactory did not contain any projections and returned mercator as the default in opnmap.properties -- openmap.Projection=com.bbn.openmap.proj.CADRG openmap.components=<others> projFactoryLoader <more others> projFactoryLoader.class=com.bbn.openmap.proj.ProjectionFactoryLoader projFactoryLoader.projectionLoaders=mercatorloader cadrgloader ortholoader llxyloader gnomonicloader projFactoryLoader.mercatorloader.class=com.bbn.openmap.proj.MercatorLoader projFactoryLoader.cadrgloader.class=com.bbn.openmap.proj.CADRGLoader projFactoryLoader.ortholoader.class=com.bbn.openmap.proj.OrthographicLoader projFactoryLoader.llxyloader.class=com.bbn.openmap.proj.LLXYLoader projFactoryLoader.gnomonicloader.class=com.bbn.openmap.proj.GnomonicLoader in code -- Projection proj = ProjectionFactory.makeProjection(projName,mapBean.getProjection()) so my question is... how can i load the projection i want as default? thanks for any help you can provide. Pete -- [To unsubscribe to this list send an email to "majdart_at_bbn.com" with the following text in the BODY of the message "unsubscribe openmap-users"]Received on Thu Feb 17 2005 - 15:59:41 EST
This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:06 EDT