public final class GridLayerPlugin extends AbstractFeatureSourceLayerPlugin<GridParam>
A layer which is a spatial grid of lines on the map.
Type: grid
forkJoinPool, parser| Constructor and Description |
|---|
GridLayerPlugin()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GridParam |
createParameter()
Create an instance of a param object.
|
GridLayer |
parse(Template template,
GridParam layerData)
Inspect the json data and return Optional<MapLayer> or Optional.absent().
|
createStyleFunction, getTypeNames, setParserpublic GridParam createParameter()
MapLayerFactoryPluginAttribute value objects.
See
ReflectiveAttribute.createValue(org.mapfish.print.config.Template)()}
for details on how the parsing mechanism works.@Nonnull public GridLayer parse(@Nonnull Template template, @Nonnull GridParam layerData)
MapLayerFactoryPlugintemplate - the configuration related to the current request.layerData - an object populated from the json for the layer