Hello, I use JMapFrame and JMapPane (gt-swing-2.6-SNAPSHOT) for displaying map with GeoTools. I tried to zoom to layer with: getMapPane().setDisplayArea(getMapPane().getMapContext().getLayer(0).getBounds());
I got map displayed with zoom to that layer however layer is not centered but aligned to the left. How to get map zoomed to layer and centered. Best regards. -- View this message in context: http://n2.nabble.com/JMapPane-zoomToLayer-tp3748528p3748528.html Sent from the geotools-gt2-users mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
