org.geotools.renderer.crs
Class ProjectionHandlerFinder

Object
  extended by ProjectionHandlerFinder

public class ProjectionHandlerFinder
extends Object

Looks up the ProjectionHandler for the specified rendering area. WARNING: this API is not finalized and is meant to be used by StreamingRenderer only

Author:
Andrea Aime - OpenGeo

Field Summary
static String WRAP_LIMIT_KEY
           
 
Constructor Summary
ProjectionHandlerFinder()
           
 
Method Summary
static ProjectionHandler getHandler(ReferencedEnvelope renderingArea, 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
 
Methods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

WRAP_LIMIT_KEY

public static final String WRAP_LIMIT_KEY
See Also:
Constant Field Values
Constructor Detail

ProjectionHandlerFinder

public ProjectionHandlerFinder()
Method Detail

setWrapLimit

public void setWrapLimit(int wrapLimit)
Programmatically sets the number of wraps per direction the wrapping projection handlers will apply

Parameters:
wrapLimit -

getHandler

public static ProjectionHandler getHandler(ReferencedEnvelope renderingArea,
                                           boolean wrap)
Returns a projection handler for the specified rendering area, or null if not found

Parameters:
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 projection


Copyright © 1996-2014 Geotools. All Rights Reserved.