/** * Provides the strategy with the area we want to render and its CRS (the SPI lookup will do * this step) * * @throws FactoryException */ public WrappingProjectionHandler( ReferencedEnvelope renderingEnvelope, ReferencedEnvelope validArea, CoordinateReferenceSystem sourceCrs, double centralMeridian, int maxWraps) throws FactoryException { super(sourceCrs, validArea, renderingEnvelope); this.maxWraps = maxWraps; // if we are wrapping, we query across the dateline no matter what this.queryAcrossDateline = true; // this will compute the radius setCentralMeridian(centralMeridian); }