Trying to think - you got an affine transform. So you need to get the transform.inverse() and then use that to "back-project" the screen coordinate - what pops out should be in the Map coordinate system.
Cheers, Jody > Hi All, > I am using streamingRenderer and created a jpg image of the Map, > now I am able to bring this map on the browser. > When I click on the Map, I get x,y any where between 0-640 (w) and > 0-480 (h), but now I need to convert this clicked point > to Map coordinate point, so that I can bring that clicked point to the > center of the map in my next image generation. > > PLEASE Help me in doing this, I am having really very hard time to > achieve this. > > I am able to zoomin and zoomout by changing the zoomfactor in > AffineTransform , but Not able to bring the center of the map > where user is click on the image. > > > Best Regards > Govardhan > Congruence Software Solutions Pvt Ltd > KusumPrakash Arcade, site no:9 > 1st Main, SanjayNagar > Bangalore-94 > (O) 001-91-41674163 > (V) 678-248-2437 > (M) 001-91-9980036996 > http://www.congruence.co.in > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > ------------------------------------------------------------------------ > > _______________________________________________ > Geotools-gt2-users mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users > ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys - and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
