public final class GmlLayer extends AbstractFeatureSourceLayer
Parses GML from the request data.
| Modifier and Type | Class and Description |
|---|---|
static class |
GmlLayer.GmlParam
The parameters for creating a layer that renders Gml formatted data.
|
static class |
GmlLayer.Plugin
Renders GML layers.
|
| Constructor and Description |
|---|
GmlLayer(java.util.concurrent.ExecutorService executorService,
FeatureSourceSupplier featureSourceSupplier,
StyleSupplier<org.geotools.data.FeatureSource> styleSupplier,
boolean renderAsSvg,
AbstractLayerParams params)
Constructor.
|
getFeatureSource, getLayers, setFeatureCollection, setStyle, shouldRenderAsSvggetFailOnError, getName, render, supportsNativeRotation, tryAddLayerpublic GmlLayer(java.util.concurrent.ExecutorService executorService,
FeatureSourceSupplier featureSourceSupplier,
StyleSupplier<org.geotools.data.FeatureSource> styleSupplier,
boolean renderAsSvg,
AbstractLayerParams params)
executorService - the thread pool for doing the rendering.featureSourceSupplier - a function that creates the feature source. This will only be called once.styleSupplier - a function that creates the style for styling the features. This will only be called once.renderAsSvg - is the layer rendered as SVG?params - the parameters for this layer