We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b6fd7db commit b2be240Copy full SHA for b2be240
core/src/main/java/org/mapfish/print/map/Scale.java
@@ -201,7 +201,7 @@ public double getGeodeticDenominator(
201
double width = 1;
202
double geoWidthInches = getResolutionInInches() * width;
203
double geoWidth = DistanceUnit.IN.convertTo(geoWidthInches, this.unit);
204
- double minGeoX = position.y - (geoWidth / 2.0);
+ double minGeoX = position.x - (geoWidth / 2.0);
205
double maxGeoX = minGeoX + geoWidth;
206
207
final GeodeticCalculator calculator = new GeodeticCalculator(projection);
0 commit comments