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
public static class FeatureLayer.FeatureLayerParam extends AbstractLayerParams
The parameters for creating a vector layer.
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
defaultStyle
If no style is defined, a default style with this name will be used.org.geotools.data.simple.SimpleFeatureCollection
features
A collection of features.java.lang.Boolean
renderAsSvg
Indicates if the layer is rendered as SVG.java.lang.String
style
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 Constructor Description FeatureLayerParam()
-
-
-
Field Detail
-
features
public org.geotools.data.simple.SimpleFeatureCollection features
A collection of features.
-
style
public java.lang.String 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
public java.lang.String 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
public java.lang.Boolean renderAsSvg
Indicates if the layer is rendered as SVG.(will default to
Configuration.defaultToSvg
).
-
-