public static final class ImageLayer.ImageLayerPlugin extends AbstractGridCoverageLayerPlugin implements MapLayerFactoryPlugin<ImageLayer.ImageParam>
Renders an image as layer.
Type: image
| Constructor and Description |
|---|
ImageLayerPlugin() |
| Modifier and Type | Method and Description |
|---|---|
ImageLayer.ImageParam |
createParameter()
Create an instance of a param object.
|
java.util.Set<java.lang.String> |
getTypeNames()
Return a set of all the values the json 'type' property should have for this plugin to apply typenames
MUST be lowercase.
|
ImageLayer |
parse(Template template,
ImageLayer.ImageParam layerData)
Inspect the json data and return Optional<MapLayer> or Optional.absent().
|
createStyleSupplierpublic java.util.Set<java.lang.String> getTypeNames()
MapLayerFactoryPlugingetTypeNames in interface MapLayerFactoryPlugin<ImageLayer.ImageParam>public ImageLayer.ImageParam createParameter()
MapLayerFactoryPluginAttribute value objects. See ReflectiveAttribute.createValue(org.mapfish.print.config.Template)()} for
details on how the parsing mechanism works.createParameter in interface MapLayerFactoryPlugin<ImageLayer.ImageParam>@Nonnull public ImageLayer parse(@Nonnull Template template, @Nonnull ImageLayer.ImageParam layerData)
MapLayerFactoryPluginparse in interface MapLayerFactoryPlugin<ImageLayer.ImageParam>template - the configuration related to the current request.layerData - an object populated from the json for the layer