public static final class GeotiffLayer.Plugin extends AbstractGridCoverageLayerPlugin implements MapLayerFactoryPlugin<GeotiffLayer.GeotiffParam>
Renders a GeoTIFF image as layer.
Type: geotiff
| Constructor and Description |
|---|
GeotiffLayer.Plugin() |
| Modifier and Type | Method and Description |
|---|---|
GeotiffLayer.GeotiffParam |
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.
|
GeotiffLayer |
parse(Template template,
GeotiffLayer.GeotiffParam param)
Inspect the json data and return Optional<MapLayer> or Optional.absent().
|
createStyleSupplierpublic java.util.Set<java.lang.String> getTypeNames()
MapLayerFactoryPlugingetTypeNames in interface MapLayerFactoryPlugin<GeotiffLayer.GeotiffParam>public GeotiffLayer.GeotiffParam createParameter()
MapLayerFactoryPluginAttribute value objects.
See ReflectiveAttribute.createValue(org.mapfish.print.config.Template)()}
for details on how the parsing mechanism works.createParameter in interface MapLayerFactoryPlugin<GeotiffLayer.GeotiffParam>@Nonnull public GeotiffLayer parse(Template template, @Nonnull GeotiffLayer.GeotiffParam param) throws java.io.IOException
MapLayerFactoryPluginparse in interface MapLayerFactoryPlugin<GeotiffLayer.GeotiffParam>template - the configuration related to the current request.param - an object populated from the json for the layerjava.io.IOException