targetCli.setMaxExtent(serverCli.getMaxExtent());
targetCli.setMaxExtent(serverCli.getMaxExtent());
public DynamicLayerConfiguration getData() { Bbox bounds = layerConfig.getServerLayerInfo().getMaxExtent(); if (bounds == null) { bounds = new Bbox(); layerConfig.getServerLayerInfo().setMaxExtent(bounds); layerConfig.getClientLayerInfo().setMaxExtent(bounds); } bounds.setX(minX.getValueAsFloat()); bounds.setY(minY.getValueAsFloat()); bounds.setMaxX(maxX.getValueAsFloat()); bounds.setMaxY(maxY.getValueAsFloat()); return layerConfig; } }