We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fd0af8c commit 78f556cCopy full SHA for 78f556c
core/src/main/java/org/mapfish/print/map/geotools/grid/GridUtils.java
@@ -284,6 +284,9 @@ private static double[] transformToLabelProjection(
284
285
// Get axis directions from the target CRS
286
CoordinateReferenceSystem labelCrs = layerData.getLabelCRS();
287
+ if (labelCrs == null) {
288
+ labelCrs = mapCrs;
289
+ }
290
if (labelCrs != null) {
291
CoordinateSystem cs = labelCrs.getCoordinateSystem();
292
AxisDirection dir0 = cs.getAxis(0).getDirection();
0 commit comments