public class ProjectionHandlerFinder extends Object
ProjectionHandler
for the specified rendering area. WARNING: this API is not
finalized and is meant to be used by StreamingRenderer onlyModifier and Type | Field and Description |
---|---|
static String |
WRAP_LIMIT_KEY |
Constructor and Description |
---|
ProjectionHandlerFinder() |
Modifier and Type | Method and Description |
---|---|
static ProjectionHandler |
getHandler(ReferencedEnvelope renderingArea,
CoordinateReferenceSystem sourceCrs,
boolean wrap)
Returns a projection handler for the specified rendering area, or null if not found
|
void |
setWrapLimit(int wrapLimit)
Programmatically sets the number of wraps per direction the wrapping projection handlers will
apply
|
public static final String WRAP_LIMIT_KEY
public void setWrapLimit(int wrapLimit)
wrapLimit
- public static ProjectionHandler getHandler(ReferencedEnvelope renderingArea, CoordinateReferenceSystem sourceCrs, boolean wrap) throws FactoryException
renderingArea
- The area to be painted (mind, the CRS must be property set for
projection handling to work)wrap
- Enable continuous map wrapping if it's possible for the current projectionFactoryException
Copyright © 1996–2019 Geotools. All rights reserved.