hi,

i was wondering how one would write zoom to point in geotools?

i noticed this example code from another post but i'm not sure what the  zoom, 
zoom parameters are in the change.scale method call.

         AffineTransform change = new AffineTransform();
    change.translate(centerX, centerY);
    change.scale(zoom, zoom);
    change.translate(-centerX, -centerY);
    mapPane.transform(change);


oliver


------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev 
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to