new WrappingProjectionHandler( renderingEnvelope, validArea, sourceCrs, centralMeridian, maxWraps); handler.setDatelineWrappingCheckEnabled( !isWrappingException(crs, horizontalSourceCrs)); return handler;
((WrappingProjectionHandler) handler).setDatelineWrappingCheckEnabled(false);