public class ZoomToFeatureExtent
extends org.apache.wicket.behavior.Behavior
Constructor and Description |
---|
ZoomToFeatureExtent()
Creates a new instance.
|
ZoomToFeatureExtent(Layer... layers)
Creates a new instance.
|
ZoomToFeatureExtent(List<Layer> layers)
Creates a new instance.
|
ZoomToFeatureExtent(Number buffer)
Creates a new instance.
|
ZoomToFeatureExtent(Number buffer,
Layer... layers)
Creates a new instance.
|
ZoomToFeatureExtent(Number buffer,
List layers)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
ZoomToFeatureExtent |
buffer(Number buffer)
Sets the buffer added to the calculated extent.
|
Number |
getBuffer()
Returns the buffer added to the calculated extent.
|
List<Layer> |
getLayers()
Returns the layers used when calculating the extent.
|
ZoomToFeatureExtent |
layers(List<Layer> layers)
Sets the layers used when calculating the extent.
|
void |
renderHead(org.apache.wicket.Component component,
org.apache.wicket.markup.head.IHeaderResponse response) |
void |
setBuffer(Number buffer)
Sets the buffer added to the calculated extent.
|
void |
setLayers(List<Layer> layers)
Sets the layers used when calculating the extent.
|
public ZoomToFeatureExtent()
public ZoomToFeatureExtent(Number buffer)
buffer
- Buffer to add when calculating extentpublic ZoomToFeatureExtent(Layer... layers)
layers
- Layers to use when calculating extentpublic ZoomToFeatureExtent(List<Layer> layers)
layers
- List of layers to use when calculating extentpublic ZoomToFeatureExtent(Number buffer, Layer... layers)
buffer
- Buffer to add when calculating extentlayers
- Layers to use when calculating extentpublic Number getBuffer()
public void setBuffer(Number buffer)
buffer
- New valuepublic ZoomToFeatureExtent buffer(Number buffer)
buffer
- New valuepublic List<Layer> getLayers()
public void setLayers(List<Layer> layers)
layers
- List of layerspublic ZoomToFeatureExtent layers(List<Layer> layers)
layers
- List of layerspublic void renderHead(org.apache.wicket.Component component, org.apache.wicket.markup.head.IHeaderResponse response)
renderHead
in interface org.apache.wicket.markup.html.IComponentAwareHeaderContributor
renderHead
in class org.apache.wicket.behavior.Behavior
Copyright © 2015. All rights reserved.