JMapPane highlight context should better use the same CoordinateReferenceSystem as the map context to avoid unnecessary transform ---------------------------------------------------------------------------------------------------------------------------------
Key: GEOT-1949 URL: http://jira.codehaus.org/browse/GEOT-1949 Project: GeoTools Issue Type: Bug Components: ext mappane Affects Versions: 2.5-M3 Reporter: Wind Li This line: MapContext highlightContext = new DefaultMapContext(DefaultGeographicCRS.WGS84); can be replace to MapContext highlightContext = new DefaultMapContext(context.getCoordinateReferenceSystem()); to avoid unnecessary transform. The transform will cause issues if the map context CoordinateReferenceSystem can't be transform to DefaultGeographicCRS.WGS84. -- 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 ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Geotools-devel mailing list Geotools-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-devel