Package org.mapfish.print.map.geotools
Class FeatureLayer.FeatureLayerParam
java.lang.Object
org.mapfish.print.map.AbstractLayerParams
org.mapfish.print.map.geotools.FeatureLayer.FeatureLayerParam
- Enclosing class:
- FeatureLayer
The parameters for creating a vector layer.
-
Field Summary
FieldsModifier and TypeFieldDescriptionIf no style is defined, a default style with this name will be used.org.geotools.data.simple.SimpleFeatureCollection
A collection of features.Indicates if the layer is rendered as SVG.The style name of a style to apply to the features during rendering.Fields inherited from class org.mapfish.print.map.AbstractLayerParams
failOnError, name, opacity
-
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
features
public org.geotools.data.simple.SimpleFeatureCollection featuresA collection of features. -
style
The style name of a style to apply to the features during rendering. The style name must map to a style in the template or the configuration objects.If no style is defined then the default style for the geometry type will be used.
-
defaultStyle
If no style is defined, a default style with this name will be used. Otherwise, a style will be selected depending on the geometry type. -
renderAsSvg
Indicates if the layer is rendered as SVG.(will default to
Configuration.defaultToSvg
).
-
-
Constructor Details
-
FeatureLayerParam
public FeatureLayerParam()
-