DefaultMapContext.getAreaOfInterest should return a copy of its envelope ------------------------------------------------------------------------
Key: GEOT-2730 URL: http://jira.codehaus.org/browse/GEOT-2730 Project: GeoTools Issue Type: Bug Components: core render Reporter: Michael Bedward Assignee: Michael Bedward Fix For: 2.6-RC1 getAreaOfInterest is returning a live ref to the map context's areaOfInterest (my code from changes I made a few months ago). It should return a copy for safety. JMapPane was inadvertently changing the area of interest by translating an envelope after getting it from the context. -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira ------------------------------------------------------------------------------ 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-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel