Hello Francesca, Have you got any layers in the map context ?
Michael On 2 May 2011 23:15, Francesca Martelli <[email protected]> wrote: > Hi guys, > I have another problem: I have a JMapFrame with a JMapPane which > contains a MapContext; when I call getScreenToWorldTransform() on the > mappane, it returns null. > > The following is the line code that I use: > AffineTransform tr = mapFrame.getMapPane().getScreenToWorldTransform(); > > Any ideas about? > francesca > > > -- > Francesca Martelli, Computer Science Ph.D. > Algorithms and Computational Mathematics Group, IIT - CNR, Pisa > Phone: +39 050 315 3191 (office), +39 050 315 2333 (fax) > http://www.iit.cnr.it/francesca.martelli/ > email: [email protected] > > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------------ WhatsUp Gold - Download Free Network Management Software The most intuitive, comprehensive, and cost-effective network management toolset available today. Delivers lowest initial acquisition cost and overall TCO of any competing solution. http://p.sf.net/sfu/whatsupgold-sd _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
