[Schmitzm-commits] r495 - branches/1.0-gt2-2.6/src/gtmig/org/geotools/swing
scm-commit@wald.intevation.org
scm-commit at wald.intevation.org
Fri Oct 23 16:19:46 CEST 2009
Author: mojays
Date: 2009-10-23 16:19:46 +0200 (Fri, 23 Oct 2009)
New Revision: 495
Modified:
branches/1.0-gt2-2.6/src/gtmig/org/geotools/swing/JMapPane.java
Log:
JMapPane#fixAspectRatio(.) moved to JTSUtil
Modified: branches/1.0-gt2-2.6/src/gtmig/org/geotools/swing/JMapPane.java
===================================================================
--- branches/1.0-gt2-2.6/src/gtmig/org/geotools/swing/JMapPane.java 2009-10-23 14:16:17 UTC (rev 494)
+++ branches/1.0-gt2-2.6/src/gtmig/org/geotools/swing/JMapPane.java 2009-10-23 14:19:46 UTC (rev 495)
@@ -1076,7 +1076,7 @@
public Envelope getMaxExtend() {
if (maxExtend == null) {
try {
- return fixAspectRatio(
+ return JTSUtil.fixAspectRatio(
this.getBounds(),
// Kartenbereich um 10% vergroessern
JTSUtil.expandEnvelope(context.getLayerBounds(), 0.1),
More information about the Schmitzm-commits
mailing list