org.deegree_impl.clients.wmsclient.model
Class ModelModifier

java.lang.Object
  extended byorg.deegree_impl.clients.wmsclient.model.ModelModifier

public class ModelModifier
extends java.lang.Object

Version:
$Revision: 1.2 $
Author:
Andreas Poth

Constructor Summary
ModelModifier()
           
 
Method Summary
static WMSGetMapRequest modify(WMSGetMapRequest model, GM_Envelope bbox)
          creates a WMSGetMapRequest that is identical to the submitted one but with a new boundingbox
static WMSGetMapRequest modify(WMSGetMapRequest model, GM_Point center, double zoomLevel)
          modify's the submitted WMSGetMapRequest by setting a new boundingbox that is $zoomlevel$ % larger ( zoomLevel > 0 ) or $zoomlevel$ smaller ( zoomLevel < 0 ) than the current bounding box.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ModelModifier

public ModelModifier()
Method Detail

modify

public static WMSGetMapRequest modify(WMSGetMapRequest model,
                                      GM_Point center,
                                      double zoomLevel)
modify's the submitted WMSGetMapRequest by setting a new boundingbox that is $zoomlevel$ % larger ( zoomLevel > 0 ) or $zoomlevel$ smaller ( zoomLevel < 0 ) than the current bounding box.

Parameters:
model -
center -
zoomLevel -
Returns:
modified WMSGetMapRequest

modify

public static WMSGetMapRequest modify(WMSGetMapRequest model,
                                      GM_Envelope bbox)
creates a WMSGetMapRequest that is identical to the submitted one but with a new boundingbox

Parameters:
model - old WMSGetMapRequest
bbox - new bounding box
Returns:
modified WMSGetMapRequest