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 Details

    • features

      public org.geotools.data.simple.SimpleFeatureCollection features
      A collection of features.
    • style

      public 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 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 Boolean renderAsSvg
      Indicates if the layer is rendered as SVG.

      (will default to Configuration.defaultToSvg).

  • Constructor Details

    • FeatureLayerParam

      public FeatureLayerParam()