public static final class GeoJsonLayer.Plugin extends AbstractFeatureSourceLayerPlugin<GeoJsonLayer.GeoJsonParam>
Renders GeoJSON layers.
Type: geojson
forkJoinPool, parser| Constructor and Description |
|---|
Plugin()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
GeoJsonLayer.GeoJsonParam |
createParameter()
Create an instance of a param object.
|
GeoJsonLayer |
parse(Template template,
GeoJsonLayer.GeoJsonParam param)
Inspect the json data and return Optional<MapLayer> or Optional.absent().
|
createStyleFunction, getTypeNames, setParserpublic GeoJsonLayer.GeoJsonParam createParameter()
MapLayerFactoryPluginAttribute value objects.
See
ReflectiveAttribute.createValue(org.mapfish.print.config.Template)()}
for details on how the parsing mechanism works.@Nonnull public GeoJsonLayer parse(@Nonnull Template template, @Nonnull GeoJsonLayer.GeoJsonParam param)
MapLayerFactoryPlugintemplate - the configuration related to the current request.param - an object populated from the json for the layer