public final class FeatureLayer extends AbstractFeatureSourceLayer
This layer type is only intended for internal use, for example to render the bbox rectangle in the overview map.
| Modifier and Type | Class and Description |
|---|---|
static class |
FeatureLayer.FeatureLayerParam
The parameters for creating a vector layer.
|
static class |
FeatureLayer.Plugin
Parser for creating
FeatureLayer layers from request data. |
MapLayer.RenderType| Constructor and Description |
|---|
FeatureLayer(java.util.concurrent.ExecutorService executorService,
FeatureSourceSupplier featureSourceSupplier,
StyleSupplier<org.geotools.data.FeatureSource> styleSupplier,
boolean renderAsSvg,
AbstractLayerParams params)
Constructor.
|
getFeatureSource, getImageBufferScaling, getLayers, getRenderType, setFeatureCollection, setStylecacheResources, getFailOnError, getLayerTransformer, getName, getOpacity, prepareRender, render, supportsNativeRotation, tryAddLayerpublic FeatureLayer(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