@LcdService(service=ILcdGXYLayerFactory.class, priority=20000) public class TLcdWMSProxyGXYLayerFactory extends java.lang.Object implements ILcdGXYLayerFactory
This layer factory sets a painter on the layer which re-projects the data from the WMS if necessary. The painter will automatically determine a reference that is supported by all layers in the GetMap request and that is similar to the world reference of the view. The resulting image will then be warped to match the current world reference.
If a map is requested which contains WMS layers without a common reference, the painter will issue multiple requests with different references and then paint the result as one image. It should be noted that using layers with incompatible references will generally be slower because multiple maps have to be retrieved.
|Constructor and Description|
Creates a new
|Modifier and Type||Method and Description|
Returns whether the used WMS proxy painter uses a tiled painter instead of the standard painter.
Sets whether the layer factory creates layers with the tiled WMS painter or the non-tiled WMS painter.
public boolean isTiled()
public void setTiled(boolean aTiled)
aTiled- whether a tiled WMS painter is used or not.
public ILcdGXYLayer createGXYLayer(ILcdModel aModel)
TLcdWMSProxyGXYLayerfor a model whose model descriptor is an instance of a
TLcdWMSProxyModelDescriptor. Otherwise, an
IllegalArgumentExceptionis thrown. It is also assumed that the model contains exactly one
aModel- a model for which a layer must be created
java.lang.IllegalArgumentException- if the model descriptor is not an instance of